Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Show 2 different order confirmations - depending on payment method

    Hi!

    I have two different payment methods.
    Bank Transfer and PayPal IPN.

    Is there a way I can show one special order confirmation for customer who choose PayPal, and another special confirmation for the ones who use bank transfer?

    Which variables should I look for or use?

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

    Default Re: Show 2 different order confirmations - depending on payment method

    Can you explain more about "why" you want to do this, and more about what specific differences you want in each type of confirmation?
    .

    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
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Show 2 different order confirmations - depending on payment method

    Sure - I would like this because when people order with the bank transfer-option, I would like to tell them more about the payment info, and that we ship the order as soon as we have recieved their payment.

    This is not something I want to use space on if the customer already has paid using paypal - then I would instead inform them that the order will be sent out today.

    To avoid misunderstandings, and unhappy customers, I don't want to explain both scenarios like I do now. People tend to read only the first line they come across - then close the browser, and then call / send emails and ask about the same thing I explained above :)

    Do you know a way?

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

    Default Re: Show 2 different order confirmations - depending on payment method

    Are you referring to what information is shown in the browser, or the content that is sent in the email?

    And if you're referring to the browser, are you meaning the checkout_confirmation screen, or the checkout_success screen?
    .

    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
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Show 2 different order confirmations - depending on payment method

    Oh, sorry..

    I'm thinking about what the customers sees in their browser. The checkout_success screen, where the customer get a notice that we have recieved their order.

    (Where I also would like to give the customers a summary of what products that were ordered, and the total price)

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

    Default Re: Show 2 different order confirmations - depending on payment method

    By the time the customer gets to the checkout-success page, all the order information has been saved and closed. Only the order number remains (along with some meta info useful for affiliate processing if used). If you want to reload all the order information to display again, including determining which payment module was used to handle the order so you can display alternating messages, you'll have to re-query the database to pull up all that order information, and then work on displaying the output in the desired format.

    You'll have to work with at least the following files which control what happens on that page:
    /includes/modules/pages/checkout_success/header_php.php
    /includes/languages/english/YOUR_TEMPLATE/checkout_success.php
    /includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_success_default.php
    etc
    .

    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. Different payment processor depending on order value.
    By ryanthemadone in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 10 Feb 2010, 01:40 PM
  2. Send different email depending on order status
    By eden in forum General Questions
    Replies: 2
    Last Post: 21 Sep 2008, 04:08 PM
  3. Only show payment method when UPS shipping method chosen?
    By helen610 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 28 Aug 2008, 03:04 AM
  4. Different payment options depending on product
    By gifro10 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 2 Jun 2008, 08:28 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