Page 1 of 1
Payment Gateway
Posted: Sun Mar 12, 2017 6:16 am
by denzio
Hi,
Turst all with you everyone.
I am seeking help on how to add Paypal as payment gateway in livecode apps. I was trying to search some topics and tutorials for me to follow but it seems like it is only for web base setup not for an apps. It would be great if it can be use directly within the mobile app created in livecode.
Please help and Thank you
Re: Payment Gateway
Posted: Sun Mar 12, 2017 4:36 pm
by jacque
PayPal will only send notifications of payment to a verified email address or a web URL, which is why you need a script on a server to respond.
If you don't care about responding to notifications but you only want to provide a way for users to pay, you might be able to include the html from one of their custom web buttons in your app, maybe inside a browser widget. PayPal is intended for web use, which is why most apps just redirect to a web page.
Note that the online stores only work with their own payment systems and Apple will reject an app that uses a custom one. I have never seen an Android app with embedded PayPal, I'm not sure how that would work there.
Re: Payment Gateway
Posted: Sun Mar 12, 2017 8:39 pm
by ghettocottage
I think that Paypal Pro (at least that is what they used to call it) has an API and allows you to do some stuff:
https://developer.paypal.com/docs/integ ... -overview/
https://developer.paypal.com/docs/class ... w-gateway/
..but the free account is limited to website redirecting.
Re: Payment Gateway
Posted: Mon Mar 13, 2017 12:28 am
by jacque
I didn't even know there was such a thing. Thanks, that's good info.