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'm using paypal payments with an IPN listener that redirect to a success.php page after payment. Currently testing with sandbox. All works fine except when clicking the pay now button, mostly it goes to the old style payment page but randomly it goes to the newer Paypal express payment page. This wouldn't be an issue except when it goes through the Paypal express page (not the old standard payment page), after payment is processed it redirects to the paypal users account page instead of the success.php as defined in the settings.
Is this just another sandbox glitch or is there a way to control which payment page it goes to. Also, how do I fix the redirect issue with Express payments.
I am using Paypal Sandbox account. I want to automatic page redirect my own website after payment successful order authorized.
Your transaction ID for this payment is: 8E7045675M462235P.
We'll send a confirmation email to ramesh#cognizsoft.com.
return to aman#cognizsoft.com
Go to PayPal account overview
Add funds from your bank
it's go to back on store when click on return to aman#cognizsoft.com
With Payments Standard there is no guarantee the user will make it back to your site. You can help things by enabling Auto-Return in your PayPal account profile, but even then the user could close the browser before the redirect happens and they would never make it there.
If you need to automate post-payment-processing tasks you can do that using IPN which will be triggered regardless of whether or not the user makes it back to your site.
If you would rather ensure that you will indeed end up on your site to finalize every checkout then you could switch to the Express Checkout API.
I am working on a project which will be able to accept paypal payments. The sequence I am using is as follows:
My current development sites' payment steps:
The user goes to my site,
Chooses to pay for something,
Is redirected to paypal,
The payment is completed on paypal,
Then the user gets redirected back to my sites success url.
This works fine, as I use an IPN listener to update my database in the background when paypal decides to confirm the committed payment and let the user know accordingly.
However, a few days ago, I was doing some online shopping of my own, and paid using paypal. I noticed that when I paid, I was redirected to paypal, where I logged in and saw the paypal invoice. I clicked confirm, and I was redirected back to the sellers website, where I so a summary and was told to commit the purchase!!!
So basically, the sequence was something like this:
My shopping experience from a different sellers site:
I wanted to pay for the items,
I was redirected to paypal,
I was the invoice and confirmed the payment,
I was redirected to the sellers site,
I was was shown a confirmation of the order and was asked to commit the payment,
I committed the payment and was told that the order has been completed.
The difference, my site commits the purchase on the paypal website and I listen for a reponse from paypal using their IPN system, but this second site seems to commit the payment on the sellers actual website.
I thought, wow, that felt so much more reassuring from a user experience point of view.
How is that done?
Sounds like you're currently using Payments Standard and you want Express Checkout.
Express Checkout is very similar to Standard except that it's API based and the user gets returned to your site prior to finalizing the payment.
It consists of 3 API calls...
1) SetExpressCheckout - gets a token back from PayPal that you append to the end of a redirect URL that sends the person over to PayPal to login and review the payment.
2) GetExpressCheckoutDetails - This allows you to pull the payer details (name, phone, shipping address, etc.) back into your app from PayPal. This is an optional step.
3) DoExpressCheckoutPayament - this finalizes the payment. No money is moved until this API call happens, and it doesn't happen, of course, until the user is already back at your site and within your own app flow again.
You can still use IPN the way you are, but you could also things directly within the flow as well since you get instant responses back from the API, and you can setup your own review however you want to.
I am testing the a payment process of paypal.I am using Paypal Website Payment Pro solution.
When the PayPal transaction is complete, PayPal shows this payment successful message:
Thanks for your order
Your payment of $XXXX.XX USD is complete.
You're now going back to MYSITE.
If you are not redirected within 10 seconds, click here.
I want to skip this page and directly go to my specify page url.
I have followed this instruction as mention in paypal documentation.
1: login in paypal sandbox account
2: i went to profile tab then under Website payment settings then went to Website Payments Pro Hosted Solution and then Settings
there is a auto return option. i enable the auto return radio box and insert the return url .ans then saved it .
but the problem is that it is not auto redirecting .it is showing the same paypal payment successful page with a popup with message "continue or cancel button" if the user pree the cancel button then it will not redirect to my specify url (that i do not want)
I know may be this question is duplicated. but the reason i am asking this question because paypal do changes rapidly .
thanks in advance
If you used PAYPAL php SDK THEN You have to make a success page like"success.php" and in payment.php file you have to set success url of this file(success.php).