Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2019
    Location
    Minneapolis
    Posts
    2
    Plugin Contributions
    0

    Default Trying to bypass Step 2 Payment Checkout

    So we use zen-cart edited with respect, there are not major in depth code edits.

    I have been trying to bypass the payment step of checkout and I can not find where the progression of the pages trace through.

    The idea is this is being pitched as a demo run version of front end for a client.
    They don't need payment details for this, and it will be eventually producing a invoice after the order is checked out.

    I want to just have them view for the demo..
    Shipping Checkout and the next page would be confirmation.

    How do I supply the payment needs or just have the main_page follow through to checkout?

    If any of the gurus know how this is accessed I would greatly appreciate this.

  2. #2
    Join Date
    Oct 2019
    Location
    Minneapolis
    Posts
    2
    Plugin Contributions
    0

    Default Re: Trying to bypass Step 2 Payment Checkout

    I know there are basic ways to completely bypass this whole step.

    Setting up free Free Order (freecharger)
    and then change the base ./includes/filenames.php entry which is
    define('FILENAME_CHECKOUT_PAYMENT', 'checkout_payment');
    to
    define('FILENAME_CHECKOUT_PAYMENT', 'checkout_confirmation');

    This just forces its way around the payment loading when the link is referenced.

    The obvious problem with this is it is a bad hack of a edit.
    I would rather in the future know how to control the page flow through settings.

    Everything I have read online for the document of this does not help at all.
    Lots of people asking questions but no answers.

    Lots of PayPal Express, which is another bad hack to setup just to bypass a page load.
    And many mentions of turning off Coupons, and Gift Certificates..
    The problem with that is it still doesn't run past the payment step with these uninstalled.

  3. #3
    Join Date
    Jul 2012
    Posts
    14,473
    Plugin Contributions
    17

    Default Re: Trying to bypass Step 2 Payment Checkout

    Is the need truly to bypass the page or just not to collect money in order to move forwards to checkout? If the page is bypassed, then there is information that would still need to be passed along to support the checkout and final results.

    If the check/money order option is used as the only available payment option, then the process can run to completion. There are settings that could be used to consider the order fully paid for and allow the remaining actions to occur without admin intervention (indicating that the payment has been received.)

    Otherwise, for learning purposes, page load is along the lines of the header_php(xxx).php file(s) in the associated includes/modules/pages folder followed by the template override file for that page with the next page to be loaded/processed based on where the form on that page attempts to send the customer... follow that set of paths on paper and if you still feel like the payment page just has to be completely omitted (even though it would/may be a part of a standard checkout) you should be able to make the needed changes.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,314
    Plugin Contributions
    3

    Default Re: Trying to bypass Step 2 Payment Checkout

    You could check out what I did in the No Prices Template in the Plugins area. This nine-year-old mod won't work (I don't think), but there's this from the instructions: "I'm not coder enough to figure out how to bypass the checkout_payment page, so I reduced and renamed it to Instructions and Comments and offered a place to add content to the page."

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    6,637
    Plugin Contributions
    260

    Default Re: Trying to bypass Step 2 Payment Checkout

    Quote Originally Posted by mjordan View Post
    I know there are basic ways to completely bypass this whole step.

    ....

    The obvious problem with this is it is a bad hack of a edit.
    I would rather in the future know how to control the page flow through settings.

    There are no settings that control this sort of thing - you'd have to change the code. And change it again every time you upgrade.
    Unless your client views this as critical, you should consider just leaving the payment page in there with a single pre-checked option.
    That Software Guy, Plugin Moderator. Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

 

 

Similar Threads

  1. Google Checkout on Payment Method Step - 2
    By old_cadger in forum Addon Payment Modules
    Replies: 6
    Last Post: 9 Mar 2012, 12:39 PM
  2. Replies: 4
    Last Post: 25 Jan 2012, 07:37 PM
  3. Need to bypass payment at checkout for just a couple orders
    By lynrobb in forum Managing Customers and Orders
    Replies: 6
    Last Post: 12 May 2011, 03:33 AM
  4. Checkout: Stuck at Step 2 of 3 - Payment Information
    By Stenrique in forum Managing Customers and Orders
    Replies: 13
    Last Post: 31 Jul 2007, 05: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