Saturday, January 25, 2014

How to Integrate PayPal with Dragonpay

Dragonpay has built-in support for PayPal.  Merchants who do not wish to bother integrating directly with PayPal may just choose to route their PayPal transactions via the unified API of Dragonpay.

To enable PayPal on your Dragonpay merchant account, do the following steps:

  1. Go to Profile >> My selling tools >> API access >> Update.
  2. Choose “Grant API Permissions”
  3. Indicate the API account username: sales_api1.dragonpay.ph and check the Express Checkout option.
  4. Click Submit.
  5. Email us your PayPal merchant id/email so we can set it up on our side.

On the code side, if you wish to redirect from your checkout page directly to PayPal (bypassing the Dragonpay payment selection page), you just need to append a "procid=PYPL" parameter like this:

https://gw.dragonpay.ph/Pay.aspx?txnid=XXXX&....&procid=PYPL

Dragonpay does not charge anything on top of whatever PayPal charges you.  You do, however, get to avail of these benefits:
  1. Sales consultancy and support for basic PayPal questions
  2. Your system can automatically avail of new PayPal features such as retry-on-decline.
  3. Dragonpay can allow you to accept payments only from Verified PayPal accounts if you wish to reduce fraud.