I'm using the PayPal-PHP-SDK to create billing agreements
Paying with a PayPal account is working, but I want the buyer to pay without an account (just a card)
There are 3 subscription plans:
If I select a subscription and click to my PayPal button, this calls the billing agreement creation to generate an approval link, and I redirect the page
// console.log(prixTTC)
$.ajax({
url: "/vente/recurring_payment.php",
method: "GET",
data: "pack=" + pack + "&prixHT=" + prixHT + "&TVA=" + TVA + "&duree=" + duree + "&prixTTC=" + prixTTC + "&devise=EUR" + "&namePack=" + namePack + "&typePaiement=" + typeAbonnement ,
dataType: "html",
success: function(url){
if( url ){
// console.log(url)
window.location.href = url
}
},
error: function(){
// TODO : Gestion de l'erreur
}
});
But I don't have the choice to pay with a card.
My question is :
How can I generate a button and pay this billing agreement directly with a card, without using a PayPal account?
How generate button and pay billing agreement with credit card and without account paypal ?
You cannot. PayPal billing agreements require the payer to have or create a PayPal account during the billing agreement creation process.
It is not possible to create a PayPal billing agreement without a PayPal account.
Related
During a transaction with creation of billing agreement id using Paypal Express Checkout, if customer completes the payment on paypal page and the network between him and merchant disrupts when redirecting to merchant page. Will his card be charged even if DoExpressCheckout is not made? How to get transaction status along with billing Id after the token is expired for above scenario?
No, Unless you call the DoExpressCheckout API , money is not going to be charged on the buyer's account .
I have create an application in paypal sandbox account. I want to do when some of the user click 'transfer money' button, then paypal transfer money from my account to user's account (Note: we have user's email id).
So, it possible to transfer money without authentication to paypal account something like offline access method.
Thanks in advanced.
What you want is a billing agreement, where the user authorizes you to make payments against a PayPal account in the same way you would debit a bank account or credit card. Billing agreements are typically set up in the same way Express Checkout works, but you will be provided an ID to refer to when you need to make payments.
A Billing Agreement allows a seller to charge your PayPal account when you purchase goods from them or use their service.
An example of this would be an agreement to pay eBay seller fees for listing items on eBay.
Using the PayPal Express Checkout API, is it possible to set up recurring billing but have "PayPal account optional" feature enabled?
I have it enabled in the account (UK, Business with Express Checkout + Recurring billing enabled) and I'm also setting 'SOLUTIONTYPE=Sole' in the API call SetExpressCheckout which according to the docs sets the call to "Paypal Account Optional". However I still get the "Create a PayPal account - pay by debit card option".
Is there any way to have recurring billing without requiring a PayPal account?
Unfortunately, when working with recurring payments users will need a PayPal account to sign up through Express Checkout.
You would need to sign up for Payments Pro + Recurring Billing to get access to process credit cards directly and setup profiles that way. This way you could eliminate the redirect to PayPal altogether when people choose to pay with a credit card.
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 am using paypal API for CreateRecurringPaymentsProfile / DoDirectPayment and want to hide
Don't have a PayPal account? Pay with your debit or credit card as a
PayPal guest
while buyer redirect to paypal login page to continue checkout
check this post: Paypal - payment without account
there is option in paypal account to enable this