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 Tools >> All Tools >> API Credentials >> PayPal API >> Pre-built payment solution.
  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.
We also recommend that merchants disable acceptance of eChecks as these payments are not real-time even with PayPal and may still be cancelled or reversed after.  For more instructions on how to do this, visit the following resources:
  • https://www.paypal-community.com/t5/My-account-settings-Archive/Disable-eCheck-As-a-Payment-Option/td-p/329394
  • https://developer.paypal.com/docs/classic/admin/setup-account/