Jump to content

Shopping Cart Sample + paypal payments


docjones

Recommended Posts

I want share the project sample

 

The project show how do a basic shopping cart, and do payments with paypal (direct credit cards payment only allowed in US).

 

Paypal, and credit card payment integrated (REST API) , only basic functions, please do not ask me about other  paypal functionalities, there are a lot of information in paypal home page.

The same unigui application catch the paypal response and update in database the status payment of the order (transactions table).

 

Proyect Requierements

 

- Paypal account / sandbox.

- Firebird 2.5 Server

- ZeosLib (http://ZeosLib.Sourceforge.net)

- Rest - API Libraries (https://github.com/fabriciocolombo/delphi-rest-client-api)

- OpenSSL Dlls (libeay32.dll and ssleay32.dll)

- XE2  and UP.

 

Open database (\files\pub.fdb), open table 'config' and change the fields with your own config

PAYPAL_CLIENTID

PAYPAL_SECRET

DOMAIN_NAME

 

Can test on.

http://docjones.ddns.net:8077

 

can pay using next paypal sandbox account

testpaysandbox@gmail.com

password chocolate

post-454-0-28297200-1433975434_thumb.jpg

post-454-0-15611300-1433975442_thumb.jpg

post-454-0-74355300-1433975447_thumb.jpg

PAYPALSAMPLE.zip

  • Upvote 5
Link to comment
Share on other sites

I want share the project sample

 

The project show how do a basic shopping cart, and do payments with paypal (direct credit cards payment only allowed in US).

 

Paypal, and credit card payment integrated (REST API) , only basic functions, please do not ask me about other  paypal functionalities, there are a lot of information in paypal home page.

The same unigui application catch the paypal response and update in database the status payment of the order (transactions table).

 

Proyect Requierements

 

- Paypal account / sandbox.

- Firebird 2.5 Server

- ZeosLib (http://ZeosLib.Sourceforge.net)

- Rest - API Libraries (https://github.com/fabriciocolombo/delphi-rest-client-api)

- OpenSSL Dlls (libeay32.dll and ssleay32.dll)

- XE2  and UP.

 

Open database (\files\pub.fdb), open table 'config' and change the fields with your own config

PAYPAL_CLIENTID

PAYPAL_SECRET

DOMAIN_NAME

 

Can test on.

http://docjones.ddns.net:8077

 

can pay using next paypal sandbox account

testpaysanbox@gmail.com

password chocolate

 

Very nice!  Thank you!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...