Jump to content
  • Advertisement
Sign in to follow this  
sdkudrgn88

How do I create a payment system?

This topic is 3379 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
Quote:
Original post by Codeka
The first result of a google search for "paypal api" returned this page: API Integration Summary.


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.)

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!