Reply
Member
Posts: 1
Registered: ‎03-26-2021
Accepted Solution

Accept.js - Receive Address Data in iframe?

We're using Accept.js, specifically the integrated hosted payment information form (https://developer.authorize.net/api/reference/features/acceptjs.html#Integrating_the_Hosted_Payment_...).

 

The general process is:

 

1. we include the Accept.js javascript

2. we set up an html form that has hidden fields for dataValue and dataDescriptor

3. customer clicks the submit button

4. Accept.js shows an iframe in a modal that receives the customer's credit card data

5. If all goes well, Accept.js fills in the dataValue and dataDescriptor fields, and submits the form to our processing script

6. Our processing script passes the data back to Authorize, to capture the payment.

 

**the above is working fine, in general**

 

The problem we're having is with AVS validation. The iframe only shows a zip field, but not an address line 1 field. International customers are having some trouble getting their cards to validate.

 

Is there a way to get the iframe form to show more info, specifically address line 1?


Accepted Solutions
Solution
Accepted by topic author MikeWillis
‎03-31-2021 12:29 PM
Posts: 485
Topics: 0
Kudos: 96
Blog Posts: 0
Ideas: 0
Solutions: 40
Registered: ‎04-28-2017

Re: Accept.js - Receive Address Data in iframe?

Hi Mike,

 

The Hosted Accept.js form only contains the Postal code field. Alternative options include using your own custom Accept.js form or the Accept Hosted method which does contain additional billing address fields.

 

With Hosted Accept.js, you can pass the customer's billing address along with the nonce in your API call. In which case the postal code included in the API call will be used in AVS checks instead. For AVS checks, the postal code used with createTransactionRequest takes precedence over the value in the nonce.

 

Powered by NexWebSites.com -
Certified Authorize.net developers

View solution in original post


All Replies
Solution
Accepted by topic author MikeWillis
‎03-31-2021 12:29 PM
Posts: 485
Topics: 0
Kudos: 96
Blog Posts: 0
Ideas: 0
Solutions: 40
Registered: ‎04-28-2017

Re: Accept.js - Receive Address Data in iframe?

Hi Mike,

 

The Hosted Accept.js form only contains the Postal code field. Alternative options include using your own custom Accept.js form or the Accept Hosted method which does contain additional billing address fields.

 

With Hosted Accept.js, you can pass the customer's billing address along with the nonce in your API call. In which case the postal code included in the API call will be used in AVS checks instead. For AVS checks, the postal code used with createTransactionRequest takes precedence over the value in the nonce.

 

Powered by NexWebSites.com -
Certified Authorize.net developers