I'm trying to create recurring profiles with Direct Payment, but I get this error (command CreateRecurringPaymentsProfile):
Array
(
[TIMESTAMP] => [not-relevant]
[CORRELATIONID] = [not-relevant]
[ACK] => Failure
[VERSION] => 50.0
[BUILD] => 2764190
[L_ERRORCODE0] => 11586
[L_SHORTMESSAGE0] => DPRP is disabled.
[L_LONGMESSAGE0] => DPRP is disabled for this merchant.
[L_SEVERITYCODE0] => Error
)
Non-recurring transactions and Express Checkout Recurring Payments are processed normally. Everything is working in SandBox. I've tried to contact PayPal's support, but they didn't know what the problem is. The error is self-descriptive, but I just can't find out how to enable the recurring payments. Any suggestions?
Firstly, make sure that when you create your sandbox account, you set the country to "United States" and the type to "Website Payments Pro". Setting it to "United Kingdom" will cause this error in your sandbox.
DPRP is enabled by default for United States sandbox accounts, so you shouldn't have to do anything else.
Since your sandbox account will now be in US Dollars, you'll have to add other currencies to it (this will save you problems later with test payments not accepting automatically). This can be done by going to:
"Enter Sandbox Test Site" on the "Test Accounts" page on developer.paypal.com
Sign in, and click the "Profile" link in the navigation bar
Click "Manage currency profiles", and add the currencies that you need to the account.
Related
We use on the site delayed payment transaction, like this:
Authorization transaction using credit card details including CVV2 code.
Get PNREF.
Use PNREF as ORIGID in delayed transaction.
Success
But now we got a trouble with recurring payments because we didn't store CVV2 value.
As I understood I can use "Authorization transaction PNREF" just for one delayed transaction as ORIGID. So I trying to get new one, but using ORIGID of previous transaction instead of credit card credentials:
TENDER=C&TRXTYPE=>A&AMT=29&ORIGID=xxxxxxxx7278&USER=user&PWD=pass&VENDOR=vendor&PARTNER&PayPal&VERBOSITY=HIGH
And always get an error:
'RESULT' => '117',
'PNREF' => 'xxxxxxxx20F8',
'RESPMSG' => 'Failed merchant rule check',
'TRANSTIME' => '2015-11-22 21:51:53',
'AMT' => '19.00', 'CARDTYPE' => '0'
The way you are trying to use the old PNREF to charge the customer is known as reference transaction and needs to be turn on in the manager account .
In your manager account go to "Account Administration -->Transaction Settings" . Here just select "yes" for "Allow reference transactions" and wait for an hour to get the settings updated.
It should be fine afterwards .
I created new sandbox account for buyer and tried CreateRecurringPaymentsProfile as Method.
it worked fine and created new recurring profile first time.
but now suddenly I am getting below Error:
Array
(
[TIMESTAMP] => 2015-05-18T21:11:41Z
[CORRELATIONID] => 1a8fea918c26d
[ACK] => Failure
[VERSION] => 98.0
[BUILD] => 16660223
[L_ERRORCODE0] => 11586
[L_SHORTMESSAGE0] => DPRP is disabled.
[L_LONGMESSAGE0] => DPRP is disabled for this merchant.
[L_SEVERITYCODE0] => Error
)
it is currently sandbox.
please let me know how can I resolve this issue?
DPRP = Direct Payment Recurring Payments
The DoDirectPayment API is enabled with Website Payments Pro 3.0, and that's what is used when creating recurring profiles with credit cards directly.
You need to get Website Payments Pro 3.0 activated on the sandbox account in order to run these transactions.
Did you create a new business sandbox account recently? New ones should have this enabled by default. If not, you can send a message to PayPal MTS and they can enable it for you.
You need to enable Website Payments Pro for the sandbox business account. In the current interface (2018) view this page:
https://developer.paypal.com/developer/accounts/
Find your Business account, expand it and click Profile. Under 'Account Type' there should be a link to 'Upgrade to Pro'.
i use Paypal ExpressCheckout method for payments.
I want to allow my users buy without paypal account and using their credit card.
Its work fine when i use one time payment.
My payment params (excepts currency, signature, username and password) looks like this:
'amt'=> '300.00',
'paymentAction' => 'Sale',
'desc' => 'some desc',
'qty' => 1,
'solutionType' => 'Sole', <--this option allow buy by credit card w/o pp account
'landingPage' => 'Billing',
But when i want to set up recurring payment, its not working anymore.
My recurring payment params:
'amt' => '300.00',
'l_billingType0' => 'RecurringPayments',
'l_billingAgreementDescription0' => 'Some desc',
'solutionType' => 'Sole',
'landingPage' => 'Billing',
Paypal force user to create pp account in this case :(
PayPal Account Optional it turned to ON in my pp account ofc.
Any idea what wrong i do?
"Pay with Credit or debit card " option is only applicable for the one time payments not for the recurring payments via the API calls .
The only possibility where you see the "Pay with credit card" option when you use the PayPal subscription button and you have the ERP( Enhanced recurring Payments) product on your account .
If you are looking to create the recurring profiles on the credit cards then you must have a Pro account and the recurring payments add on , then you will be using the API calls to create the recurring Payments directly on your website without even redirecting to the PayPal Page .
Depending on your Pro account type , you will be using the following API's :
For PayPal Payments Pro ( Payflow Edition)
https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/pp_payflowpro_recurringbilling_guide.pdf
For PayPal Payments Pro ( Direct Edition)
https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/CreateRecurringPaymentsProfile_API_Operation_NVP/
We want to create an installment plan button using the button manager SDK, but we are getting this error message:
'ShortMessage' => 'SignUp for the Enhanced Recurring Payments package required.',
'LongMessage' => 'You need to have PayPal Business account and the Enhanced Recurring Payments package to create Automatic Billing or Installment Plan button.',
'ErrorCode' => '13110'
How and where can I enable that feature in sandbox mode and in live mode?
Sign up in the sandbox here: https://www.sandbox.paypal.com/us/cgi-bin/?cmd=_product-go&product=premium_services
Log in with your test account email/password (something like aaaaaa_############_biz#emaildomain.com )
For your live account you can go here: https://merchant.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=merchant/erp_overview
We have succesfully integrated PayPal on our Website and I contacted PayPal over MTS to enable Reference transaction on our Live Account, they told me I must contact Customer support and they after mutliple Mail sent still don't have a clue what I want.
On our Live Account we got:
[LongMessage] => Merchant not enabled for reference transactions
[ErrorCode] => 11452
Can someone point me who I can contact to have them enabled?