Hi There,
I'm plumbing up a licensed version of the authorize.net plugin and I have a few questions on the best way to set this up. I have everything working and I can test transactions okay.
What I need now is the following:
1. to be able to store some of the data fields returned by Authorize.net (i.e. have chrono forms store the transaction details along with the rest of the records)
2. to not have the credit card number included in the email or stored in the table (I have a javascript field that holds the last 4 digits). Right now the entire form get tallied and stored. I don't want the security issues of databasing credit card info.
Can you offer some advice in those areas?
Thanks
Brian
Hi Brian,
I haven't even downloaded the PlugIn to take a look. I'll add that to my (already long) to-do list. If Max reads this he can probably help - or you can email him through the contact form here.
Bob
Hi Brian,
#1- Authorize.net will return some defined variables in a POST array, at the top of the Autogenerated code box you can equal some DB table fields with those returned by Authorize
#2- at the top of the Autogenerated code box you can equal the CC number posted data to null so its not stored, add it to the omitted fields list so its not sent in Email!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max, Bob,
Thanks so much. I hadn't made it so far as to create the table on the form. Now that I've done that it all makes a bit more sense.
Awesome component and plugin!
Me Again,
I'm having trouble identifying the variables returned the by Authorize.net plugin. I have been able to access the global vars mentioned in the config screen by adding a global declaration in the code blocks for before and after sending email.
How can I access the entire array of vars returned by authorize.net?
Also, some tutorials mention being able to do things like enable or disable sending email based on code blocks. Is there some sort of an API guide or some other reference for what is available in terms of variables that can be accessed/set to effect the form behavior or retrieve data?
Wow, long question. If the second one is too vague I'm right there with you. but any help with the first question would be greatly appreciated.
Thanks
Hi Brian,
I've just been digging into Max's Authorise.net plugin, as far as I can see so far it doesn't return anything usable. I had this before with the Registration PlugIn and it's fairly easy to fix with a little hacking. I'll try to work it through and get back to you.
Bob
Hi Brian,
Only the seven or so variables listed are declared as global in the PlugIn, I guess that you can add to the declaration list - what else do you want to see?
Bob
Max,
I've done some more testing and I am not able to see anything in the POST array from within any of the chrono forms fields. If I do a print_r($_POST) in any of those fields the output only contains my form field values. Is there an array of the authorize.net post vars that would be visible to chrono forms?
Well it was all bit easier than I was making it out to be. After looking at it more the global vars are really all I needed. Everything else could be derived from form fields. I modified the database table and the auto-generate block to populate my database fields and I created an email template which resolved the problem of emailing the full credit card number.
Thanks for all your help!
Hi Brian,
Excellent, delighted to hear it.
Bob