Please explain PayPal Express data flow
Can someone please give me an explanation of the data flow/log file creation process for PayPal Express? We're trying to troubleshoot a sporadic problem in which the order process appears to be interrupted. I don't think it's just paypal, but paypal seems to have a very good logging function so I'm hoping this will help.
For example, I have a customer who tried and failed to place an order. In the paypal log directory, I found three files for SetExpressCheckout for this order, but none of the other log files that are usually created.
We're using 1.3.9h.
Re: Please explain PayPal Express data flow
1. SetExpressCheckout -- tells PayPal about the basic details of the order, and receives a token from PayPal.
2. Customer is redirected to PayPal using the token. The customer logs in and selects their funding method, and returns to your store.
3. Your store sends a GetExpressCheckoutDetails request, to obtain address details about the customer, and create an account in your store if needed.
4. If your customer had not been logged in and thus didn't have a change to select shipping details yet, your customer is then presented with shipping choices, asked to enter any coupons or gift certs on your site, see the calculated taxes, and is then taken to the Checkout Confirmation screen.
5. When the customer clicks Confirm, a DoExpressCheckoutPayment request is sent to PayPal to actually complete the payment and move funds between accounts. When that finishes, your customer sees the checkout-success screen.
Step 4 might happen before step 1 if the customer has an account and was logged in and chose the normal checkout flow (not the orange button on the Shopping Cart or login screen) and thus chose the PayPal radio-button on the checkout-payment screen.
The 3 logs that are generated for each transaction are those highlighted. And they're generated in that order.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
By Ch4iS in forum PayPal Express Checkout support
Last Post: 28 Feb 2012, 12:10 PM
By magic.solve in forum PayPal Express Checkout support
Last Post: 2 Aug 2011, 06:58 PM
By s_p_ike in forum Built-in Shipping and Payment Modules
Last Post: 1 Sep 2009, 12:50 PM
By danilyn22 in forum PayPal Express Checkout support
Last Post: 23 Apr 2009, 12:31 AM
By TheHYPO in forum Managing Customers and Orders
Last Post: 12 May 2006, 09:57 PM
Content and Graphics Copyright (c) 2003 - 2016 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC