working on getHostedPaymentPageRequest API with my sandbox account.
getting this error:
ErrorE00001An error occurred during processing. Please try again.
Here's the xml post:
<getHostedPaymentPageRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>name</name>
<transactionKey>transactionkey</transactionKey>
</merchantAuthentication>
<transactionRequest>
<transactionType>authCaptureTransaction</transactionType>
<amount>20.00</amount>
</transactionRequest>
<hostedPaymentSettings>
<setting>
<settingName>hostedPaymentBillingAddressOptions</settingName>
<settingValue>{"show": true, "required":true}</settingValue>
</setting>
<setting>
<settingName>hostedPaymentButtonOptions</settingName>
<settingValue>{"text": "Pay"}</settingValue>
</setting>
<setting>
<settingName>hostedPaymentReturnOptions</settingName>
<settingValue>{"url":"https://testurl.com/good","urlText":"Continue","cancelUrl":"https://testurl.com/cancel","cancelUrlTe...>
</setting>
</hostedPaymentSettings>
</getHostedPaymentPageRequest>
02-21-2017 11:07 AM
Hi @Aaron,
In my case, your credentials also fail to E00001:
My credentials in sandbox are:
API Login ID - 7W3nxxxxxxxx
Transaction Key - 7hTa2288xxxxxxxx
My credentials also work in other requests. Also, I have generated a signature key for my account.
API Login ID: 7W3nxxxxxxxx API Login ID Last Obtained: 10/17/2016 18:42:50 Transaction Key Last Obtained: 11/06/2017 19:07:00 Signature Key Last Obtained: 11/06/2017 19:08:00
Not sure on what to do next.
- Melvin
11-06-2017 08:01 PM - last edited on 11-07-2017 08:53 AM by Aaron
Hi @mjstecson891,
Is this still happening? I'm unable to reproduce the error using my credentials or yours. E00001 is a general system error that's assumed to be transient, so I wouldn't expect it to be anything on your end. But, since I'm unable to reproduce here, I'm not sure what's going on.
If it is still happening, try it from another browser or ideally from another network entirely, like from a phon on the cell network. Basically anything to determine if there's any sort of pattern.
11-07-2017 08:53 AM