Hi,
I am using Accept Hosted. I would like to know if I can specify a url parameter in the hostedPaymentReturn URL which is the Transaction ID element value on the receipt page - something like:
"settingValue": "{\"url\":\"https://www.mysite.com/continue?receiptID=receiptTransactionId\",\"urlText\":\"Continue\",\"cancelUr..."}"
Ideally, I would like to pass the invoicenumber as well - so something like:
"settingValue": "{\"url\":\"https://www.mysite.com/continue?invoiceID=receiptInvoiceNumber&receiptID=receiptTransactionId\",\"ur..."}"
Thanks,
Jayaram
10-11-2017 10:59 PM
You can append your own additional customer specific transaction information values to the continue/return URL or the cancel URL.(Any name-value pairs embedded in the URL should be URL-encoded to ensure correct processing in the form request.) This customer specific information will be passed back to your server, where you can use it to identify the specific customer and transaction that has been processed, when the customer returns. However, as these setting values are used to obtain a token, which is then used to request a secure form to process a transaction, the Transaction Id, doesn't exist at the time when your name-value pairs were submitted.
In addition to or as an alternative you can use Webhooks.
10-12-2017 11:58 AM
Yes, I understand what you are saying.
My point is, why can't the values be treated as variables and then substituted to construct the URL (and urlencoded) for the Continue button since the elements are present in that same receipt page as the button?
"settingValue": "{\"url\":\"https://www.mysite.com/continue?invoiceID=[$receiptInvoiceNumber]&receiptID=[$receiptTransactionId]\......"}"
Should I submit this as an enhancement request?
Thanks,
Jayaram
10-12-2017 12:28 PM
Yes, I can see the value of what you are suggesting. You should submit it as an enhancement request.
10-12-2017 12:36 PM - edited 10-12-2017 12:41 PM
Thanks. Sorry, new user here. How do I do that? Post it in the Ideas forum?
Jayaram
10-12-2017 12:41 PM
Yes, exactly. https://community.developer.authorize.net/t5/Ideas/idb-p/ideas
10-12-2017 12:42 PM - edited 10-12-2017 12:42 PM