Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2012
    Posts
    151
    Plugin Contributions
    0

    Default will it run before_process() when using paypal express checkout?

    when select the paypal express checkout method, zencat will not run checkout_process.php but ipn_main_handler.php.
    then any reason to keep before_process in paypalwpp.php ? for zencart will not run it at all.


  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: will zencart run before_process() when using paypal express checkout?

    Quote Originally Posted by linjuming View Post
    when select the paypal express checkout method, zencat will not run checkout_process.php but ipn_main_handler.php.
    then any reason to keep before_process in paypalwpp.php ? for zencart will not run it at all.
    You are incorrect. The before_process() method is indeed used. It submits the final payment request to PayPal.
    .

    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. #3
    Join Date
    Apr 2012
    Posts
    151
    Plugin Contributions
    0

    Default Re: will zencart run before_process() when using paypal express checkout?

    pls see the pink hight light of my photo, at confirmation page, the form is pointing to ipn_main_handler.php which will not carry out the before_process() method. At least I can not find any code in ipn_main_handler.php including this method.
    So can you tell me the detail when will before_process() happen ? Would you pls tell more info ?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: will zencart run before_process() when using paypal express checkout?

    ipn_main_handler simply starts the first of 3 stages for Express Checkout.
    The before_process() method is called during the final 3rd stage after the customer confirms the final purchase details.
    .

    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.

  5. #5
    Join Date
    Apr 2012
    Posts
    151
    Plugin Contributions
    0

    Default Re: will zencart run before_process() when using paypal express checkout?

    ipn_main_handler simply starts the first of 3 stages for Express Checkout.
    do you mean that ipn_main_handler will run at checkout_shipping page? I check the header_php.php or checkout_shipping ,not connecting with paypalwpp.php
    The before_process() method is called during the final 3rd stage after the customer confirms the final purchase details.
    As you can see my photo, the pink hightlight is detected using firebug ,the confirm button will leeding the next page to ipn_main_handler.php. and no before_process() in ipn_main_handler.php

  6. #6
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: will zencart run before_process() when using paypal express checkout?

    Are you using Paypal IPN?
    If yes then uninstall it and install the much more reliable Paypal Express Checkout instead.

    If you are now having problems with Express Checkout then post what problems you are having so that problem can be solved.

    You are spending FAR toooo much time on this.
    Don't waste your time and effort trying to circumvent a problem that probably doesn't exist if Paypal Express Checkout is installed correctly.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: will zencart run before_process() when using paypal express checkout?

    Quote Originally Posted by linjuming View Post
    do you mean that ipn_main_handler will run at checkout_shipping page?
    No, ipn_main_handler is used to send the customer to PayPal's site for the first part of the payment process.

    Quote Originally Posted by linjuming View Post
    As you can see my photo, the pink hightlight is detected using firebug ,the confirm button will leeding the next page to ipn_main_handler.php. and no before_process() in ipn_main_handler.php
    Correct. before_process() does not run from ipn_main_handler.

    As gilby said, there's NO NEED for you to be asking these questions. You appear to be going in the wrong direction. But, since you won't tell us what you're REALLY trying to do, we can't be of any meaningful help to you, other than telling you that all your questions suggest that you're going the wrong way, and wasting your time on things that ought to be left alone.
    .

    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.

  8. #8
    Join Date
    Apr 2012
    Posts
    151
    Plugin Contributions
    0

    Default Re: will zencart run before_process() when using paypal express checkout?

    thank you for help.
    I purpose I want is that.
    insert draff order in db (table orders,orders_products,orders_status) when customer click confirm in checkout_confiramtion page.
    if the customer visit the account_history page or account_history_info ,if the order has status "pending" ,then will display a button "paynow" .click the paynow and jump to paypal to pay this order


    If you have any this plugin or technology thead . Would you pls show me? I am not good at english ,looking for data in english is a hard job.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: will zencart run before_process() when using paypal express checkout?

    Quote Originally Posted by linjuming View Post
    I purpose I want is that.
    insert draff order in db (table orders,orders_products,orders_status) when customer click confirm in checkout_confiramtion page.
    if the customer visit the account_history page or account_history_info ,if the order has status "pending" ,then will display a button "paynow" .click the paynow and jump to paypal to pay this order
    Why is this necessary?
    Why would there ever be an "unpaid" 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. v138a Requiring account creation using when using Paypal Express?
    By Zeebra in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 28 Oct 2013, 10:59 PM
  2. Nothing to process. Please return to home page. when using paypal express checkout
    By DickTurpin in forum PayPal Express Checkout support
    Replies: 14
    Last Post: 13 Jun 2011, 10:43 AM
  3. Order does not seem to be recognized as COWOA when using PayPal Express Checkout
    By alicia1234 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 3 Feb 2009, 06:06 AM
  4. Is it safe to run a test order using paypal express without SSL?
    By ebaobao in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 12 Aug 2008, 05:25 PM
  5. Error when using paypal express checkout...
    By webopt in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 4 Sep 2007, 12:11 AM

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