I need two things:
1. 2Checkout passback script written in PHP
- This script needs to check that the postback is genuinely coming from 2Checkout, gather all the variables from the cart and make them into local variables using the following variables as posted by 2Checkout:
x_amount - the total amount to be billed, in decimal form,
with no currency symbol.
x_invoice_num - a unique order id from your system.
x_First_Name - buyers first name
x_Last_Name - buyers last name
x_Phone - buyers phone number
x_Email - buyers email address
x_Address - buyers address
x_City - buyers city
x_State - buyers state
x_Country - buyers country
2. Form Simulation Snippet written in PHP/fsockopen.
- This script needs to have the form variables post and redirect the user to the page where the form variables are posted just like a regular post form would do.