cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Apple Pay AIM API Testing

Hi,

 

I'm trying to add Apple Pay support to our current AIM API implementation. Our iOS applicaitons have not been updated and I would like to test our application server. I have a sandbox account set up on which I've enabled Appe Pay. I entered a test Apple Merchant ID (I'm not sure what else if anything I need to do from here, given that this is a sandbox account). I took the opaque data value from the example in the API reference (https://developer.authorize.net/api/reference/) and tried submitting it to the AIM API via my webserver. However I'm getting the following reponse:

 

Reason Response Code: 153

Message: There was an error processing the payment data.

 

Is there a test opaque data value token that I can use in the sandbox environment? Similar to how we can use credit card number 4222222222222222 to test credit card transactions.

 

Or could my issue be with my sandbox account not being set up properly?

 

Thanks!

nomerc0de
Member
11 REPLIES 11

To simulate a 4222 2222 2222 2222 type card you're better off doing the following:

Use your normal phone - don't worry about using a developer profile on your phone unless you literally have a device ONLY for testing. If you switch to a developer profile on your phone you lose all kinds of stuff and have to reconfigure it again - including all your live ApplePay cards. Huge pain.

 

You should follow https://developer.authorize.net/hello_world/testing_guide/ and select a fake billing address for your *real* credit card with the zipcode 46282. This will cause a failure on processing.

 

simeyla
Contributor

I have the same issue. Did they end up helping you? My visa card transactions are working for apple pay but they fail if i use discover.