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'.
Related
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?
I'm trying to do a DoDirectPayment with the Sandbox API
I have been testing with code that I know works but my API credentials are getting the following error back from the Sandbox API
[L_ERRORCODE0] => 10501
[L_SHORTMESSAGE0] => Invalid Configuration
[L_LONGMESSAGE0] => This transaction cannot be processed due to an invalid merchant configuration
After looking up the error code I found that the problem "Occurs when the billing agreement is disabled or inactive."
I have searched Google intensively for how to Agree to the Billing Agreement in the sandbox but to no prevail
Has anyone had this issue and know how to switch it on?
Like the the other answers say, you need to to enable Payments Pro in your sandbox account. As of July 2013, you can do this with the steps below.
Login to your developer.paypal.com account
Go to Applications -> Sandbox Accounts
Click the sandbox account you want to upgrade to Pro, and then click 'profile'
There should be an Upgrade to Pro option in the dialog that pops up
Note the paypal developer website has been changing quite a bit recently, so your mileage may vary...
It means your sandbox test account is not set up for Payments Pro.
Go to https://developer.paypal.com > Test accounts > preconfigured and create a preconfigured US Website Payments Pro test account.
There was recently a redesign of the developer site.
I don't know about existing accounts, but for new accounts you cannot use the default "facilitator" sandbox test account for testing the classic api ... you have to make a new business sandbox test account and use the credentials from that. This is true even though the "facilitator" account is a business account.
The sandbox accounts are created in https://developer.paypal.com/ -> Applications -> Sandbox accounts (link on left side) -> Create Account (button on right side)
I got this same issue and wrote paypal about it, this was their response:
Thank you for contacting Merchant Technical Services.
Regarding to your issue with an error invalid merchant configuration, this error happened because of your sandbox account still in pending status. It happened when you changed from business to pro. This is bug in our system and kindly our engineer still in progress in fixing this bugs. By the way, you can try create new sandbox account and then upgrade to pro account as what you did before this.
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.