PayPal question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

PayPal question

Hi everyone. I am trying to build a donate page for a non-profit. I’m extremely new to this. But I am using MVC and I’m supposed to integrate PayPal without being redirected to the PayPal website. Is this actually possible? I just need to know I’m not making a futile effort. Every tutorial that I find redirects and is for buying items not donating(but that’s a whole other issue). Thank you in advance to anyone who can perhaps point me in the right direction.

28th Apr 2018, 7:17 PM
Lee
Lee - avatar
4 Answers
+ 6
It will redirect. This is for security purposes. Your website should not directly handle the end users account information. You may be able to open the redirect in a modal or you can open it in another tab/window.
28th Apr 2018, 7:26 PM
ChaoticDawg
ChaoticDawg - avatar
+ 3
any cc process will require a handoff to them in order to protect the cardholder. That being said, there's no requirement to go to their website. you can use a frame or a pop-up (modal) to display the required card process through their API so that it appears as though the donors have not left the website. If using WordPress, is a simple matter to install a PayPal plug-in. If not check out the PayPal API documentation online. it has an in-depth explanation.
28th Apr 2018, 7:49 PM
Tim Leon
Tim Leon - avatar
+ 1
Thank you!
28th Apr 2018, 7:31 PM
Lee
Lee - avatar
0
Thanks!
28th Apr 2018, 7:58 PM
Lee
Lee - avatar