We are currently redirecting our users to PayPal in order to accept a Preapproval (Adaptive Payments). There, the user can log in to PayPal or just enter his Credit Card information.
If instead of redirecting the user we use the 'embedded flow' (lightbox or new window), the user can login or signup only.
How to let the user insert their Credit Card info in the embedded flow?
If you are using Preapprovals with Adaptive Payments you can't use guest checkout, i.e. your users will need either to log-in with their Paypal account or to create one.
I know it sucks, but as far as I know there is no workaround.
Related
I've created two PayPal\Api\WebProfiles for express checkout. The first one (Billing) leads the user to the Non-PayPal account landing page. The second one (Login) leads them to the PayPal account login landing page.
This procedure works fine if the customer is not already logged in to paypal.
However, if he is, i've found that regardless of which WebProfile I use, paypal only shows the credit card options only when the paypal balance is not enough for the transaction.
Is it possible to force paypal to show the credit card payment option in this case?
I already created a donation button and tested it in sandbox and it worked, what I want to do is before the donor clicks the donate button, I want them to choose first whether Credit Card or PayPal Account, if they choose credit card, they will fill the form and redirect to PayPal. I don't want them to choose credit card at PayPal site because it is so small that it can barely seen.
It is not possible to open up the credit card field on the paypal checkout page using website Payments Standard buttons(like donations,buy now etc)But,you can automatically fill the address related fields and pass it to checkout page.
You can display the credit card tab only in express checkout using LANDINGPAGE=Billing
Let me give you an idea.
Your Question:
If they choose credit card, they will fill the form and redirect to PayPal.
Answer:
This can be done, however you will invoke SOLUTIONTYPE=SOLE and LANDINGPAGE=BILLING (this will work using PayPal buttons; I have tested this first hand)
Answer:
Technically it could be done, however it is an unsecured method of using a customers credit and sort of defeats the purpose of using PayPal as a payment method; invalidates security. If you post credit card data from your; let's say secure form, it is still vulnerable to a post sniff where hackers can steal the cc info vs. having the customer manually entering their credit card info on a hosted secure paypal page.
Note
Maybe use PayPal advanced which is $5 a month; use a secure hosted Iframe, where a customer can pay with a credit card on site with no redirect. Like: http://www.ggsalsa.com/salsa-menu.html#!/~/checkoutPD; put fake email and checkout with credit card to see.
I wrote a website in PHP last weeks. Users can register and login to my website. Logged in users are also able to buy an item on the site. Payment is handled by paypal via a paypal payment button. Payment is working fine, but.
Problem:
When a logged in user pays for the article, i only see in paypal that someone bought my article. but i need to know which user it was. Is there a way to store the username of the user that bought the article?
Its a problem that the paypal button is created by paypal, i cannot modify that button with my own code.
Which Payment product are you implemented?
For PayPal Payment Standard, there is "custom" variable that you can specify anything for your own tracking purposes:
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#id08A6HH00W2J
For Express Checkout, you can use "PAYMENTREQUEST_n_CUSTOM" variable:
https://developer.paypal.com/docs/classic/api/merchant/DoExpressCheckoutPayment_API_Operation_NVP/
I am currently developing a site for users to donate money to the respective NGO. The % of payment(which will be assigned by admin) will go to the paypal ID of the respective user and the other part will go to the other user.
How can I customise adaptive payment to code this function in the front end??
Paypal Adopative payment process is very simple. First you need to register with developer account. Then you need to create one demo application on paypal website. Use UserId, password and demo paypal appId(APP-80W284485P519543T) in you code.
Set your return, cancel and IPN url.
Here is the flow.
let me know if you want any more help.
Click here to see more information
im building a site where 2 user groups exist: sellers and buyers. The buyers buy stuff and should pay to the sellers via PayPal.
So, its not a kind of a web shop where users are paying directly to me ( as a website owner/online shop), BUT TO THE OTHER USERS (sellers). So i need to forward a PayPal transaction from one user on my site (buyer) to the other one (seller).
I read some PayPal API Descriptions, but its assumed there that i want to process the PayPal Payments to my PayPal account, what's not my case.
An idea would be that sellers pay to me, and i then pay to buyers, but that's not what i want to do.
So , what I want is: the buyer should process the PayPal payment directly to the seller's PayPal account, and i should then receive the payment confirmation and inform the seller about it.
Does anyone have an idea, expirience or suggestion with this stuff? Thanks in advance!
You have a lot of options for how you can handle that.
One, you could use the Express Checkout API to build the checkout system, and you'd use the Permissions API (optional) so that users can easily grant your application permissions to make API calls on their behalf. Note that users could also do this manually through their PayPal profile until you get the Permissions part integrated.
To get your payments, you could have your users create a preapproval profile using the Preapproval API. This will allow you to submit payments on their behalf automatically at any time. As such, you could use the preapproval key within Pay calls directly in the checkout flow or within IPN (which is what I would recommend) to submit payments to yourself from the user's account.
Another option is to use a parallel payment within Express Checkout. This would handle splitting the payment for you automatically between the seller and yourself, but the buyer would see that split during checkout.
Another option would be to use the Pay API for the checkout which would allow you to create a chained payment. This is the same as a parallel payment except that it hides the split from the buyer, and you could actually delay the payment to secondary receivers if you need to for any reason.
Hope that helps.
if you have a buy now button or similar, use the sellers' email address as below
<input type="hidden" name="business" value="sellers#email.com">
and it will pay the user with that email address. If that's not their paypal address, it will prompt them to either sign up for paypal to receive or add it to a current account.
Then use PHP mail() or your CMS/Admin system to notify you when the successful payment page has been loaded after a referral back from Paypal.