This example demonstrates DPayPal libraray.

Let's try to call SetExpressCheckout PayPal API method. Please have a look at payment flow provided by PayPal:

PRESS START TO START THE PAYMENT

PayPal ExpressCheckout flow

This example covers only steps 1, 2 and 3 and the rest you can finish it easily on your own. If you need any help, please contact me directly.

The following steps will be performed:

  1. Call SetExpressCheckout method by using DPayPal libraray
  2. PayPal will return us the TOKEN
  3. Using the TOKEN, you will be redirected to the PayPal website to enter your PayPal username and password