Hi Joy, I understand completely, just looking for a little help.
I am trying to store the $amount variable from a user entered field on one page, then pass that value to the page with the checkout form. Could anyone help me with this? I'm assuming this is relatively easy to do, I just can't seem to make it work.
Thank you for the link, that worked perfectly. I'm also trying to allow the customer to enter invoice and description fields. Using x_invoice_num and x_description doesn't seem to work. I found the note below in the docs, but I don't quite understand:
The invoice number must be
created dynamically on the
merchant server or provided on a
per-transaction basis. The
payment gateway does not
perform this function.
Also, in order to be included on
the hosted payment form, the
attribute View must be
configured for this field in the
Merchant Interface payment form
To clarify, these variables are passing between the pages without any problem. When I receive the email reciept with the information entered, the invoice and description fields are still blank. How do I capture that information during the transaction?
I'm honestly not sure where the merchant account transaction detail screen is located.
However, I got this working properly by adding hidden inputs to AuthorizeNetDPM.php:
<input type="hidden" name="x_invoice_num" VALUE="'.($_POST['invoiceNum']).'">
<input type="hidden" name="x_description" VALUE="'.($_POST['accountNumb']).'">
Also, I used cookies to get these variables (amount, invoice number, description) to show on the order reciept page. Is that going to cause any PCI compliance issues?