paypal website standard for subscription, cancelling subscription - paypal

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.

Related

Payflow to create Recurring Payment with PayPal account

I am using payflow link hosted checkout pages and creating recurring profile. It is working if user pay with credit card and using pnref to create recurring profile. But it is not working if user make payment using paypal account. And getting error code 23 and error “Invalid account number” .
Please advice me for the same.
Payflow link only allow the user to submit Recurring Billing with Credit Card as the funding source. If you wish to have a choice of payment with PayPal account, you probably want to consider Payflow Pro.

How to update credit card details on a Paypal subscription button

I have set up a subscription button,
When a user chooses to pay by credit card instead of a paypal account, how would they go about updating the credit card, eg. if it has expired.
I have seen a modify option , but that seems to be for upgrading their subscription to a different pricing rather than for updating credit card details.
If there a way to offer an option so they can update their credit card details attached to a subscription?
"Guest checkout" is not available with PayPal Standard Subscriptions or Express Checkout with Recurring Payments. Any time they sign up that way they would have to create or login to a PayPal account, and then that's where they would update their card details.
If you're creating profiles directly on your site with credit card details and no redirection to PayPal then that means you must be using PayPal Payments Pro. In that case you could update the profile details within your PayPal account or using the UpdateRecurringPaymentsProfile API. So you would have to build that tool into your site's user profile so they can update it accordingly.

PayPal Express Chekout no pay by credit/debit card option

I have a website which is using PayPal Express Checkout as a payment method.
It was working for 2 years without a problem but yesterday I noticed that the payment options are changed before there were 2 payment option presented to the user
Login and pay with PayPal account.
Do not have PayPal account pay by credit/debit card.
But now the second option is replaced by Create a PayPal account. There is no option to pay without having a PayPal account.
I have not changed anything.
Anybody knows why the Pay by credit/debit card is gone.
First make sure in your Paypal/Sandbox account the PayPal Account have
Optional: ON
Go to -->
PayPal account's Profile -> More Options -> My Selling Tools -> Website Preferences screen.
And then set SolutionTypeType to Sole while making request for setExpressCheckout this will enable the option to Pay with your debit or credit card.
And you are done :)
What I know is earlier when you pay with credit card on paypal using express check out API it also create an account for that user and let user process different things like link bank account with paypal or credit card payment.
It is default behavior of paypal express checkout according to their new View
PayPal displays different options for Express Checkout depending upon the COUNTRY selected (it will detect your IP address and set the country if no country is passed to the page). eg Indonesia (etc) forces you to create a Paypal account whereas USA (etc) does not (and provides other options).

Paypal integration to accept credit card payment directly

I have a question regarding PayPal integration with my website. I have a Premier account with PayPal. I tried integrating it with my website by adding a 'Buy Now' button. When I click on it it asks the end user to create a PayPal account. However, I want the users to be able to make a payment directly with their credit/debit card without creating a PayPal account.
I am not a technical guy, so I might have missed out on something. I want to know if it is possible to integrate paypal without me having to code something technically. Kindly advise.
According to PayPal, buyers do not need a PayPal account to pay you:
They can pay with their credit/debit card (Visa, MasterCard, American
Express, and Discover) — all without having a PayPal account.
Sources: Do my buyers need a PayPal account to pay me? and Buttons for single purchases
To create the button, simply visit PayPal's button creator wizard and supply the required information. Once submitted, PayPal will autogenerate the HTML for you. See: Create PayPal payment button
This happened because the account was a PayPal account in UAE, and this feature is not enabled there yet.

Paypal Subcription payment want 3 option?

When user click on subscribe button of paypal, then it will redirect to paypal site, after that it will show 2 option which are:
1: login with paypal
2: i need to create a paypal account and below showing credit card form
and my requirement is to show 3 option.
1: Login with Paypal account.
2: If no paypal account then create paypal account.
3: no need paypal account, then payment through credit card
Yes, you can create subscriptions without requiring users to have a PayPal account.
However, it's not available for regular Website Payments Standard; you'll need to purchase an add-on service called 'Enhanced Recurring Payments' (US) or 'Premium Services' (UK).
I believe - from the top of my head - that it's available in the US, UK, Canada and Australia. However, you'd need to double-check those last two with PayPal Sales.
If you want to let your users to subscribe (aka recurring payment), they must have a PayPal account.
Source: https://www.paypal-community.com/t5/How-to-use-PayPal/Subscriptions-is-a-PayPal-account-required/td-p/44420
For recurring payments you can try using ChargeBee, Recurly, Chargify. These provide credit card data portability. It is must to have requirement for recurring payment businesses.