Hi all.
I am wondering if there is anyone out there that has successfully integrated to Authorize.net for hosted payments using delivered PeopleSoft document and rest based app messaging? If so I'd love to talk to you about your approach.
I have one message setup going to https://apitest.authorize.net/xml/v1/request.api to send out credentials in json and get a token from auth.net. I get a successful response with a token back. When I send the token back to https://test.authorize.net/payment/payment I do get a response but it is "Missing or Invalid Token".
I was hoping to use PeopleSoft delievered messaging with PeopleCode for the entire transaction however the more I read the more I think I am going to have to incorporate javascript (something I know less about) so I'd love to see if/how someone else made this all work. I have also seen others here get this same error but again I think they are solving it inside java or other programming that I'm not sure necessarily applies in our case.
Thanks!
10-03-2017 10:31 AM
How are you sending the token to https://test.authorize.net/payment/payment ? It needs to posted in a form variable named "token".
10-03-2017 02:37 PM - edited 10-03-2017 02:39 PM
Thanks for your reply. I believe this is our issue. PeopleSoft doesn't have a "content type" for form, just json, xml html, plain text etc. I have to believe there is a way to override this using our code and specify the htttp form post I just don't know what that is. Was hoping someone here had done so and knew the syntax or best approach.
Thanks again
10-04-2017 12:08 PM
Hi @DAL07,
Sorry if this sounds like a dumb question, but are you trying to have the PeopleSoft software post the token directly to that URL? If so, that wouldn't work anyway. The hosted forms are to be served directly from our servers to the browser, not sent to your server.
The basic flow with PeopleSoft would be the same with any backend software:
So, once PeopleSoft gets the form token from our API, PeopleSoft just needs to serve a page to the browser containing some HTML that makes a form with the token as input. Then that browser needs to submit the form token to Authorize.Net.
10-05-2017 08:34 AM
Thanks Aaron.
If there are any dumb questions I am certain they are mine. I just haven't worked with this type of post before so I'm learning as I go. I appreciate the steps you outlined as it's given me a little more to consider and verify as I go through the process.
Thanks!
10-06-2017 03:00 PM