Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010
    Plugin Contributions

    Default 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.



  2. #2
    Join Date
    Jan 2004
    Blog Entries
    Plugin Contributions

    Default 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.



Similar Threads

  1. v139h Paypal Pro/Express Flow chart inconsistancies
    By gorddevries in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 13 Jul 2013, 08:47 PM
  2. v139h Paypal Express checkout not returning data
    By Ch4iS in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 28 Feb 2012, 12:10 PM
  3. Paypal Express returning country not recognized after I deleted country/zone data
    By danilyn22 in forum PayPal Express Checkout support
    Replies: 0
    Last Post: 23 Apr 2009, 12:31 AM
  4. Please Help me with paypal express check out
    By saminshah in forum PayPal Express Checkout support
    Replies: 16
    Last Post: 1 Jan 2008, 05:54 PM
  5. Please help me with Paypal Express problem!
    By yellow1912 in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 28 Mar 2007, 07:28 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Zen-Cart, Internet Selling Services, Klamath Falls, OR