Developers have recently asked for some older, unsupported sample code for using SIM. I'm attaching here for those who need it.
Richard
07-19-2016 01:31 PM - edited 09-13-2016 01:28 PM
YES! THANK YOU!! This is what I need. Example code which works and I can modify.
This is great, but I have a couple questions. Mainly, I'm trying to add custom fields to my order so that it shows on Authorize (such that if I'm selling tickets, I want to know whether people want to sit in the front or the back, or what their meal preference is). I'd like a way to do this, and I'm experimenting with it now. Can't seem to find a solution. Is there a way to add a field like <input type='hidden' name='x_mealPreference' value='Chicken' /> and have it show in Authorize?
Right now, we have an "In Memoriam" donation form, but we have to cross-check the name and invoice to another database instead of seeing it all in Authorize. It's very annoying. If I could add that name into Authorize as a custom field, that'd be helpful.
Thanks!
Brendan
10-18-2017 08:18 AM
Hello @bdparker
First, I should remind you that SIM is now deprecated and will eventually be replaced, so I would strongly encourage you to explore using Accept.js with your own form, or use our Accept Hosted payment form.
We DO support merchant defined fields in the transaction request, but they are NOT stored at the gateway, only reflected in the response so you'll need to capture and store the values yourself.
Richard
10-18-2017 09:36 AM