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
Related
im very new with this API. I want to generate a PayPal PAY button. I've created a SANDBOX Paypal as a vendor and as a buyer. Two accounts.
I don't know how to get 'sandbox' and 'production' fields.
I haven't created an APP, all the time ask me to confirm and email which I've confirmed 10 times.
paypal.Button.render({
env: 'sandbox', // sandbox | production
// PayPal Client IDs - replace with your own
// Create a PayPal app: https://developer.paypal.com/developer/applications/create
client: {
sandbox: 'AFcWxV21C7fd0v3bYYYRCpSSRl31AULfweezb3a.97AL03QEPQS.cIvX',
production: 'QGWT5LPKXCYKNMEW'
},
// Show the buyer a 'Pay Now' button in the checkout flow
commit: true,
...
i dont know how to get sandbox and production fields, inside 'client' object.
thanks!
To create email confirmed and verified sandbox account, please refer the below steps:
1. Login to http://developer.paypal.com/ with your LIVE PayPal account
2. Click Dashboard
3. Click sandbox accounts
4. Click Create account button on the top right corner
5. Create a business account for seller and a personal account for buyer
6. Please add bank account and credit card and also populate some amount to your account
7. The email address need not be an real one.
Please refer the below link for your reference for creating sandbox:
https://developer.paypal.com/docs/classic/lifecycle/sb_create-accounts/
Refer the following links for PayPal Express checkout client side integrations, where you can find steps to get the client id details:
https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/client-side-REST-integration/
https://developer.paypal.com/demo/checkout/#/pattern/client
My problem is that DPRP is disabled for this merchant in my sandbox business account soumik10#yahoo.co.in
Error showing while using dodirectpayment classic api: DPRP is disabled for this merchant
Next URL is executed:
https://api-3t.sandbox.paypal.com/nvp?USER=soumik10_api1.yahoo.co.in&PWD=1401520404&SIGNATURE=AFcWxV21C7fd0v3bYYYRCpSSRl31AmWfDfsaKco4X7iAvZ0ed2jFrfuN&METHOD=CreateRecurringPaymentsProfile&PROFILESTARTDATE=2012-05-11T00:00:00Z&DESC=test&description&BILLINGPERIOD=Day&BILLINGFREQUENCY=1&AMT=10&MAXFAILEDPAYMENTS=3&ACCT=6011746396125231&CREDITCARDTYPE=Discover&CVV2=123&&CVV2=123&FIRSTNAME=James&LASTNAME=Smith&STREET=FirstStreet&CITY=SanJose&STATE=CA&ZIP=95131&COUNTRYCODE=US&CURRENCYCODE=USD&EXPDATE=052015
The sandbox account doesn't have recurring payments enabled. try this:
Log into the sandbox (sandbox.paypal.com) using the new test account
Make sure you are in the My Account section of the site by clicking the My Account main menu tab
Click on the sub menu "Profile"
Under the Financial Information column click the link for "Recurring payments dashboard"
On the right hand side click the link for "Sign up for Recurring Payments"
Click the Agree and Continue button
You should also be aware that PayPal Payments Pro and Recurring Payments is only available in certain markets.
Please help me with my requirement to implement using paypal.
My requirement is this :
The user can subscribe to a service, using paypal account or credit card ( without paypal account ) . The user can unsubscribe later if he/she wishes to .
I implemented the first part using Subscription button of "website standard" where paypal gave me a button and upon clicking it will lead to paypal website.
I am getting the notifications using IPN
Now there are two problems:
How to test credit card, I could test paypal account payment using the sandbox test users, but for the credit card, I dont have dummy credit cards. If I use the credit cards of the paypal accounts, it says "paypal users should use paypal to pay "
I want to cancel the subscription. The paypal user can go to the paypal account and cancel the subscription. That works fine. But how can we cancel the subscription from my website, or how can we cancel the subscription of the creditcard payer. The paypal SDK says the subscription profile ID is invalid.
Did anyone tried this kind of implementation.
Any help would do, be it links or places to search .
Thanks a lot
First, Guest Checkout (paying with a credit card without signing into PayPal) is only available without recurring payments. When using recurring payments it will force the person to create a PayPal account. You would need to use Payments Pro in order to do recurring payments directly with credit cards, and then the person would never even be redirected over to PayPal at all.
For test cards, any old expired card you have would work, or what you can do is login to your PayPal sandbox account, go into the profile, and go through the process to add a new credit card to the account. It will actually fill in a card number for you, but DO NOT add this card to the account. Just copy that card number and then cancel out of this screen. Now you can use that card number for testing on the PayPal system.
In order to refund using the API you'll need to create the profiles using the CreateRecurringPaymentsProfile API. The profile ID that gives you will be compatible with all API calls to manage it in the future.
I'm looking for a explanation about how the Paypal Sandbox works. Let's say I have a real Paypal account through which I receive payments and I want to configure it on Drupal Commerce's Paypal module, but also I want to test the payment workflow first before making it live and let my customers use it, I see the Paypal configuration on Drupal has the following options under the "PayPal server" section:
Sandbox - use for testing, requires a PayPal Sandbox account
Live - use for processing real transactions
I assume that if I want to do "dummy" transactions I must enable the "Sandbox" option on the Drupal side so my question is
Is enabling the 'Sandbox' option the only thing I need to do in order to avoid real transactions being charged to my Paypal account? or do I have to create another Paypal account (the Sandbox account) and configure it on the Drupal side instead of my real account?
I was just wondering if the Paypal Payment plugin on Drupal needs a "Sandbox account" (different from my real Paypal account) or if by just enabling the Sandbox option it somehow signals Paypal about it and any transactions are just ignored while that option is enabled.
I'll apreciate if someone clarifies this a bit for me, I'm just starting to develop Paypal related stuff.
Thanks!
I recommend using a sandbox account from here
You cannot test a dummy transaction with a real PayPal account on PayPal Sandbox. It requires Sandbox account. So, you need a Sandbox account AND change the Drupal option to Sandbox for testing.
I was trying to create Payflow Pro Sandbox account but i got to know that we have to use live account for testing. I created it by entering false credit card info but when i use false credit card information on click of 'Buy Now' Button it throws error "Credit card information is incorrect".
Can anybody help me in doing credit card test transactions through Payflow.
You do not need a "paid" Payflow account for testing. Go here and select Payflow Pro. Don't let the $99 set-up fee scare you away. You will be able to create the account without paying for testing purposes. You can submit test payments and see the transactions appear in your transaction history. That way you can get your code working before taking the plunge in activating your account for real live payments.
If you're sure you have Live Payflow Pro credentials, you can simply submit your API calls to https://pilot-payflowpro.paypal.com instead of https://payflowpro.paypal.com
Note: As you mention 'Buy now button', I'd double-check your actually using Payflow Pro, since PayPal's standard buttons are referred to 'Buy now buttons' as well. For these, you would use the Sandbox at https://developer.paypal.com/ and https://www.sandbox.paypal.com/