Jump to content

Shopping Cart Sample + paypal payments


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...