Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Apr 2010
    Posts
    74
    Plugin Contributions
    0

    Default Re: CMCiC french banks - IPN troubles

    Well I've alerady checked all the process and did not discover what going wrong.

    The reponse code is base on the code of checkout_process.php

    Pascal

  2. #12
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: CMCiC french banks - IPN troubles

    The problem with relying on an IPN approach is that you need to reconstruct the entire session independent of the customer. So that means you need to store the entire session before the customer leaves your site so you know what to reconstruct before running the logic akin to checkout_process. Also, you need to trick the customer's live session into *thinking* that the order is complete, even though it doesn't exist in the store yet. It's complicated and FULL of problems and numerous risks of never completing at all. A much better approach is to use an API approach, and ignore the IPN approach altogether.

    Plus, checkout_process.php is NOT the entire logic that happens during the checkout-process stage. There's code in the header_php.php for that page too.

    You can try to mimic the PayPal IPN logic, but keep in mind that the code there is VERY complicated because of the thousand things that could go wrong, and often do, and workarounds for each. There are better ways to do it, but not in the v1.x architecture. ZC v2 will be easier to write for, but REGARDLESS, using an IPN approach is outdated and archaic, and not an efficient or contemporary way of interacting with online stores.
    .

    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.

  3. #13
    Join Date
    Apr 2010
    Posts
    74
    Plugin Contributions
    0

    Default Re: CMCiC french banks - IPN troubles

    Well I'm able to recreate the session.
    The response also got some code of header
    I think that things that miss to my code, is to get price of items into the order.
    Is there some function that list the content of the order ?
    So I may checks what's going wrong.

    On process completion the tabler order is updated, and the table order-product, but not the order_total.

    Pascal

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h Paypal IPN redirected to french version
    By JE2009 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 9 Mar 2012, 09:57 AM
  2. How do i change banks when using Google check out for my zen cart?
    By len47811 in forum Addon Payment Modules
    Replies: 1
    Last Post: 2 Jul 2010, 12:04 AM
  3. Bank to Bank Transaction module for two different banks with min and max limit!
    By dionidis in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 21 Sep 2009, 02:28 PM
  4. paypal ipn problem (not echeque) timeout getting IPN
    By miccysoft in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 9 May 2007, 12:40 PM
  5. Which Merchant Banks
    By xcphil in forum General Questions
    Replies: 1
    Last Post: 9 Oct 2006, 03:49 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR