Form Tools
API and Authorize.net - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- Thread: API and Authorize.net (/showthread.php?tid=233)



API and Authorize.net - Big Al - Aug 7th, 2009

Has anyone successfully integrated a multi-page form (using API) with Authorize.net?

I have a donation form that needs to not only post all the info to the DB but also submit the payment portion to Authorize.net then retrieve the pass/fail from Authorize.net to my Thank you page.. Im pretty sure I need to set the thank you page part from the Authorize.net account. But the rest has me a bit baffled.

A second idea would be to make it a single page form (using process.php), perhaps this would be simpler to integrate with Authorize.net!?!

I'm at a bit of a loss here, so any help at all would be very welcome.

Thanks folks.
AL


RE: API and Authorize.net - Ben - Aug 8th, 2009

Hi Al,

I haven't done any authorize.net integrations myself, but I would imagine they have some sort of a callback mechanism like other payment gateways. e.g. PayPal has what they call "IPN" ("Instant Payment Notification") which submits a request to your server after a successful payment. You can use this to trigger Form Tools to finalize the submission in your database.

This may seem a little off-topic, but you might want to give the PayPal integration tutorial a quick read through. The details are for PayPal, but most payment gateways would work the same way - so maybe you can salvage the info for your integration?
http://docs.formtools.org/tutorials/paypal

Sorry I couldn't be more help.

- Ben


RE: API and Authorize.net - Big Al - Aug 10th, 2009

(Aug 8th, 2009, 1:01 PM)Ben Wrote: Hi Al,

I haven't done any authorize.net integrations myself, but I would imagine they have some sort of a callback mechanism like other payment gateways. e.g. PayPal has what they call "IPN" ("Instant Payment Notification") which submits a request to your server after a successful payment. You can use this to trigger Form Tools to finalize the submission in your database.

This may seem a little off-topic, but you might want to give the PayPal integration tutorial a quick read through. The details are for PayPal, but most payment gateways would work the same way - so maybe you can salvage the info for your integration?
http://docs.formtools.org/tutorials/paypal

Sorry I couldn't be more help.

- Ben
Thanks for the suggestion Ben, I will look into it.
I know that Authorize.net sends out a trigger with pass/fail type of thing. So I will keep plugging away at it.

If you are interested in working on some Authorize.net Integration, here is their documentation and code sample for their PHP AIM (Advanced Integration Method) API standards. and API documentation.

Thanks for your help.
AL