Can you please provide solution or any module to remove extra layer of review with paypal express checkout method
we are using Magento 1.7.0.0 Version.
Thanks
Chetan
I don't know the best way to accomplish this with Magento in particular, but it is an open source cart so you could conceivably implement the necessary modifications:
Append "&useraction=commit" when redirecting the customer to PayPal. This will change the button verbiage on PayPal.com from "Continue" to "Pay Now". It is a cosmetic-only change, it will not make any functional changes.
The corresponding functional change is to have your server immediately execute the API call DoExpressCheckoutPayment when the customer returns, skipping the review step and directly displaying the result.
Related
I was reading today the Paypal Express Checkout w/ In-Context Checkout Docs and the feature looks promising in the scenario that you need to perform a purchase in place without page reload or redirection to another page, but the truth is that you still have to declare a returnurl and cancelurl in order to make it work.
Unless I am missing something, this takes the user to the same problem it tries to solve, leave the current page. An undesired outcome for the real-time web-apps. Is there a way to get some sort of call back without redirecting to another page? or this is not possible yet?
I'm in the process of developing a feature to accept payments in my website, and I already did it using a paypal button and IPN (a PHP listener to process data to a DB once the payment is completed, this one actually https://github.com/paypal/ipn-code-samples/blob/master/paypal_ipn.php, properly customized).
I never touched PayPal API and I wonder if I am missing something... I'm kind of new to this kind of development and I want to be sure I'm doing it right and not missing any obvious thing which might compromise the security of the payment or whatever... I already tested things in Sandbox and everything works as expected, but I am concerned about the API and I see many people using it...
So, am I missing anything?
Thanks!
What you've done is accurate and will work just fine so long as it's suiting your needs.
One potential security risk would be if you are not using a hosted button. Did you choose to "Save this button at PayPal" when you created the button? If so, you should see a hosted_button_id included in the HTML for the button. In this case it's protected.
If the button code includes individual parameters for things like item_name, amount, etc. then that code could be adjusted by people in their browser and then the button could be submitted with different pricing, for example.
You could check for this sort of thing in your IPN script and setup an automatic refund if the price doesn't match your database, but I generally try to avoid that sort of thing.
I prefer using the Express Checkout API instead. If you were comfortable getting IPN working with PHP then you should be plenty comfortable using this PayPal PHP SDK to integrate Express Checkout.
The three calls you'll need to work with are SetExpressCheckout, GetExpressCheckoutDetails, and DoExpressCheckoutPayment.
This documentation will cover the general steps and where those calls come into play, and that library will make each of those calls very simple for you.
Express Checkout will eliminate any potential adjustments users could make to code (because they won't be able get to the code at all unlike HTML) and it also has more advanced features and options that PayPal Standard does not have. Most importantly, the ability to force the "guest checkout" experience so that non-PayPal account holders can easily checkout using a credit card without any confusion.
They can do it with PayPal Standard, too, but depending on cookies set in their browser it may make the guest checkout option tough to find. Express Checkout makes it very prominent at all times, and generally results in increased checkout conversion rates.
I'm currently using PayPal Express Checkout.
Here's a screenshot of the checkout page I want people taken to:
http://i.stack.imgur.com/wz0UC.png
For some reason users are taken to the older looking checkout page. I can't seem to find any documentation anywhere that let's you choose to specific for this template to be used instead of the older one.
Does anyone know if there's a variable in their API or perhaps a URL parameter that can be set to force all users to this page?
There is no way to force to use the new layout of PayPal Checkout. It has been rolled out gradually and partially deployed, and it is random. Something like A/B Testing. You can refer to this similar question.
I hope to integrate Paypal using "Add payment buttons to your website" https://developer.paypal.com/webapps/developer/docs/integration/web/ since my site only needs one time purchase so this solution is perfect.
But it requires an IPN implemented as an async solution at the merchant side to receive the transaction result. While the button redirects user to paypal.com to finish the payment process. But after that is done. User is not automatically redirected back to merchant site.
I found on the forum that I can add an "data-return" attribute in the script element so when user is done paying there is an additional link that points to the merchant site. Now since IPN is asynchronous, once user views the "data-return" page, IPN may not have been called yet. My questions are:
1. So what's the suggested solution of synchronizing between return page and IPN?
2. When testing, I found a lot of query strings are appended to the "data-return" URL, looks related to transaction result. Can I use them to replace IPN so I have a SYNCHRONOUS way of verifying the transaction result?
Thanks!
Use Payment Data Transfer (PDT, for short). https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/paymentdatatransfer/
I need to implement Paypal express checkout and client needs the Paypal checkout to have their own theme (at least the header). Paypal facilitates that by providing an option to upload banner image and a logo. That works fine for me, but I have a different scenario here.
Paypal checkout has 3 (abstract) steps, first where Paypal asks for login, second where it asks you to review shipping address and final the payment confirmation page. I need Paypal checkout to have three different banner images for three different steps. The reason I want to do this is because I want to give a feel of navigation to the user, each banner image will have a tab selected for each step. It might sound confusing, look at the screenshot attached and you'll understand. Its a shot from a checkout on Etsy.com
Is this possible at all? If not, how have the guys at Etsy.com done this? Is there any other way to implement tab/navigation like the header in Paypal Checkout? Any suggestions?
Etsy uses a fixed header as well, specifically https://www.etsy.com/images/paypal/paypal-checkout-steps.png
However, the same header is used when you're returned to Etsy's website for order review and order completion.
To answer your question directly; in PayPal itself, you can't set up three different 'headers' for each step in the process.