I would appreciate if anybody tell/sketch me the steps that I have to implement in order a user to automatically pay a product s/he bought.
For example lets say that the first thing is to authenticate user’s paypal account… What next steps in a row?
If anybody knows an add-on that facilitate the whole process,please let me know.
Michael
https://www.example-code.com/xojo/paypal.asp
Although the examples are very clear, my problem is that I don’t know which actionw one has to complete in order to pay a given product. The related piece of code (examples) are separate and as I am not very experienced with the whole paypal process to fit them together.
I think a chunk of the solution involves receiving data back from PayPal which allows the code to see that a payment has indeed been processed, and to add in account related data to the app’s data store - such as adding a paid-for download or access key to a customer’s account.
It is exactly what Instant Payment Notification (IPN) does. I linked to it above.
I use a Web 1.00 program handleURL web service on my web site, which Paypal posts to when a transaction took place. After verifying that payment is complete, I can then deliver software by download right away.
Correct. The IPN that your app would receive contains a payload that provides all of the information about the transaction and it’s up to you to do something with it. Typically, store the IPN data in a database, send out an email receipt, then activate an account/feature or provide a download.
Thank you.
Pennies drop.
As I am not so advanced programmer is there any demo code to do that and setting all thinks properly.
Database stuff and thecrest is easy i need only the give and take data from paypal.
Best wishes
Michael
It does not exist any xojo mplementation of paypal/ipn.
One has to be a proper programmer in other languages to use it.
Why is that, this important piece of code not translated from xojo experts to xojo code and put in the examples code… I wonder
This is wonderful Michel !!!
Please allow me to send you s reminder from time to time Also I would suggest ro support xogo2018 release and put the needed comment on the code.
Best wishes
Michael
So if it carries a purchase i could check if the purchase had been done by parsong the jadon string and manage them properly (updaye database record etc).
Is that correct?