PayPal

16 views
Skip to first unread message

dros...@gmail.com

unread,
Feb 8, 2021, 10:45:19 AM2/8/21
to Lightning - 4D Web Applications
Has anyone added PayPal to a Lightning implementation? If so, and you'd like to help me do likewise, please let me know.
Thanks,
David

Paul Dennis

unread,
Feb 19, 2021, 9:00:25 AM2/19/21
to Lightning - 4D Web Applications
Hello David, I built a shopping cart and integrated with both the bank and another payment processor but not specifically PayPal. I'm working with stripe at the moment. Generally speaking well work the same way you are the create a URL or a hidden form on your submission page which posts to the PayPal API. The URL or the form details usually include some form of hash of your account number and details of the order. You also include a callback URL back to your shopping cart. When you submit the form to PayPal it processes the order with the details you sent it and if the payment is approved calls your URL. I use a UUID generated for 4D as the identifier for the order so that when you get a call from PayPal into your application you can select the order and confirm with the customer.
Paul
Reply all
Reply to author
Forward
0 new messages