How to Test Recurring Payments with a PayPal Sandbox Account

9 years ago
Hi All,

If you want to use PayPal Direct to bill for Recurring Payments within NopCommerce, then you should:

1) enable the PayPal Direct Payment method.

2) ensure you do not limit the Payment Method to any particular country. (Country Restriction)

3) crucially, and easy to get wrong, you need to setup a PayPal Sandbox Account for a 'Web Payments Pro' Account.
No amount of enabling Recurring Payments etc in a normal PayPal Standard Sandbox account will get it to work.
You will get an error saying DPRP not enabled for this account..

4) From within the Website Payments Pro Sandbox account, get the API Credentials and put them into the Configuration section under your NopCommerce PayPal Direct Payment Method section.
If you forget to do this, you will get another error (I forgot the code).

5) Tick the box to say Use Sandbox' and thats it.

Finally, it should then work perfectly.

Let me know if these instructions work for you...
9 years ago
Hi

I am not able to enable the DPRP for the sandbox account.
I have signed up for Website payment pro account.

Please enable it for these accounts:
manvir.kaur_api1.sebiz.in , aradha_1277368032_biz_api1.sebiz.in

Thanks in Advance!!!
5 years ago
I recently had this issue of receiving DPRP is disabled error from PayPal.  After further investigation, I found out that nopCommerce integrates with PayPal's "legacy" PayPal Pro platform for recurring payments.  I had to call PayPal to request them to setup a new account on their legacy platform.  The PayPal Pro support people are aware of this situation as other carts also still integrate with their older platform for recurring payments so they should understand your issue, as long as you get the right department at PayPal on the phone.
4 years ago
Paypal direct is not present in Italy.