Buying $50 to fix bug in a osCommerce script

Discussion in 'Programming' started by Mysmasken, Sep 22, 2010.

  1. #1
    I think it's really easy for someone with PHP knowledge. Here is a copy-paste of what I posted in the osCommerce forums:

    So this is what happens when someone checkout:

    1. You go to the "Delivery Information" page (checkout_shipping.php), chose your shipping and click continue.
    2. You go to the "Payment Information" page (checkout_payment.php), you fill out your coupon code and chose your Payment Method.
    2a. If you chose PayPal Express you get redirected to PayPal.com and the coupon code you typed in will not be processed because you are sent away from the webshop.
    2b. If you chose Credit Card as your method of payment it takes you to the "Confirmation" page (checkout_confirmation.php), where your discount is applied and you have a new total.

    2ba. When you click "Confirm" you pay the new total, and everything works perfect.

    So in some way we need to have it set the new total BEFORE sending the customer on to PayPal.com... I don't think it is that hard to do, but my knowledge is limited.
     
    Mysmasken, Sep 22, 2010 IP
  2. Feral

    Feral Active Member

    Messages:
    70
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    68
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    PM sent looking forward to hear from you.
     
    Feral, Sep 22, 2010 IP
  3. youngwebmasta

    youngwebmasta Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    I am sending you a PM right now.
     
    youngwebmasta, Sep 22, 2010 IP
  4. Mysmasken

    Mysmasken Active Member

    Messages:
    247
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Feral gave it a go, but couldn't solve it for me. Anyone knows what they're doing? I don't want to give away any access or passwords as I have been ripped off before...
     
    Mysmasken, Sep 24, 2010 IP