Sign in to follow this  
sdkudrgn88

How do I create a payment system?

Recommended Posts

For example, let's say that I release a game commercially, and that I make registration keys / software downloads available online for a fee. Also suppose that I can only use PayPal. How do I create a PayPal payment system that takes the user to a download right after he or she pays the money? I have no experience in this field (of payment systems), so could somebody please point me to a resource or answer the question?

Share this post


Link to post
Share on other sites
Quote:
Original post by sdkudrgn88
Thanks, I didn't think to search for an API. (Yeah, like I said, I have no experience in this field... only a small bit in actual game design.)
Fair enough... half the battle is figuring out the keywords to search for :-)

Share this post


Link to post
Share on other sites
Quote:
Original post by Codeka
Fair enough... half the battle is figuring out the keywords to search for :-)


Oh, yeah, another thing, I looked at the API documentation, and it only describes 3/4 of the process, all the way through to the part where the payment is finished.

But after the payment is finished, I need to create an automated script to send a download link to the file. Are there any tutorials on that, or should I just try and figure it out myself?

Share this post


Link to post
Share on other sites
From what I can gather, the "Order Confirmation" page is a page on your website. PayPal gives you an authorization code that you can use to confirm recipt of payment. If you look at this diagram, you can see that after they log in and confirm their shipping information, PayPal redirects them back to your site where you call DoExpressCheckoutPayment API to actually make the payment. At that point, you can redirect them to your download page or whatever.

Share this post


Link to post
Share on other sites
Quote:
Original post by Codeka
From what I can gather, the "Order Confirmation" page is a page on your website. PayPal gives you an authorization code that you can use to confirm recipt of payment. If you look at this diagram, you can see that after they log in and confirm their shipping information, PayPal redirects them back to your site where you call DoExpressCheckoutPayment API to actually make the payment. At that point, you can redirect them to your download page or whatever.


Thank you very much. Now I think I can handle it... XD

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this