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

    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.

    Thanks,

    John

  2. #2
    Join Date
    Jan 2004
    Posts
    60,685
    Blog Entries
    4
    Plugin Contributions
    149

    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!
    Donations always welcome: www.zen-cart.com/donate

    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 Express checkout not returning data
    By Ch4iS in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 28 Feb 2012, 12:10 PM
  2. Cart not showing on paypal express Check after click on express checkout button
    By magic.solve in forum PayPal Express Checkout support
    Replies: 5
    Last Post: 2 Aug 2011, 06:58 PM
  3. Understanding checkout flow regarding paypal, checkout_process.php and before_process
    By s_p_ike in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 1 Sep 2009, 12:50 PM
  4. 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
  5. Paypal still sticking. Can't explain. More symptoms for you to analyse.
    By TheHYPO in forum Managing Customers and Orders
    Replies: 1
    Last Post: 12 May 2006, 09:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •