Community Forums 

Main Content

Post php returnlink

    Nov 01 2014 21:00:40

    #1

    stefano_261283

    Join date : 2014-11-01      Posts : 11

    I have a problem with return link after payment.
    no value back!
    I don't have setting Secret Key .
    is it necessary?
    I setting menu "customize" --> "return links"

    Your website address (mywebsite.it/request.php)
    Text for the link (go)
    REQUEST METHOD (Form button using the text above. POST request.)

    in the request.php there is

    <?

    // Replace the cart's ~ delimiter with a new line \n
    $cart = str_replace("~","\n",$cart);

    echo "
    Thank you for your order.

    Username : $username
    Customer ID : $id
    Date : $date
    For payment by $method

    Product , Quantity , Price
    ==========================
    $cart

    Discount : -$discount
    Subtotal : $subtotal
    Shipping : $shipping
    Tax : $tax
    -------------
    TOTAL : $total

    Invoice To:
    $inv_name
    $inv_compay
    $inv_addr1
    $inv_addr2
    $inv_state
    $inv_zip
    $inv_country
    $tel
    $fax
    $email

    Ship To:
    $del_name
    $del_addr1
    $del_addr2
    $del_state
    $del_zip
    $del_country

    If you have any questions about your order please do not hesitate
    to contact us.

    "

    // Plus you have this field $ip which is their IP address and the $message fields

    ?>