cancel
Showing results for 
Search instead for 
Did you mean: 

AcceptUI.js and Saved Payment Profiles

Hello,

 

I've been researching this for a while, but the answer isn't bubbling up, so I'm beginning to think it won't work, but...

 

We'd like to use AcceptUI.js to request a payment nonce from the hosted payment information form (popup). Is it possible to pass in a customer profile ID (presumably from the button) so the user can select from saved cards in the popup?

 

I can see why this might be disallowed. If it's not possible, is our only option the Accept Hosted form? We want to stay at the SAQ A level.

 

Thanks,
Scott

 

scottnes1
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

Hi @scottnes1

 

The Accept Hosted  will let you use the the  Card on File feature of using the saved profiles  for payments . 

 

https://developer.authorize.net/api/reference/features/accept_hosted.html#Requesting_a_Token

 

hostedPaymentCustomerOptions {"showEmail": false, "requiredEmail": false, "addPaymentProfile": true}

showEmail and requiredEmaildetermine whether the input field for the customer's email address will be shown and/or required on the form. Both parameters are false by default.

addPaymentProfilespecifies whether to allow the customer to use the payment form to add a new form of payment to their customer profile. Applies when a customerProfileId has been sent with the token request. The default is true.





Send feedback at developer_feedback@authorize.net

View solution in original post

Anurag
Moderator Moderator
Moderator
4 REPLIES 4

Hi @scottnes1

 

The Accept Hosted  will let you use the the  Card on File feature of using the saved profiles  for payments . 

 

https://developer.authorize.net/api/reference/features/accept_hosted.html#Requesting_a_Token

 

hostedPaymentCustomerOptions {"showEmail": false, "requiredEmail": false, "addPaymentProfile": true}

showEmail and requiredEmaildetermine whether the input field for the customer's email address will be shown and/or required on the form. Both parameters are false by default.

addPaymentProfilespecifies whether to allow the customer to use the payment form to add a new form of payment to their customer profile. Applies when a customerProfileId has been sent with the token request. The default is true.





Send feedback at developer_feedback@authorize.net
Anurag
Moderator Moderator
Moderator

Thank you, Anurag. We were hoping to use AcceptUI.js, but Accept Hosted will work.

 

Scott

 

Hi @scottnes1

 

Accept UI is a UI wrapper over the Accept.js and dont support Card on File right now.

 

The Accept Token created from it can be used for adding new payment profiles . 

 

You can propose it as new  idea under https://community.developer.authorize.net/t5/Ideas/idb-p/ideas





Send feedback at developer_feedback@authorize.net

Thanks again, Anurag. We're just gonna go with Accept Hosted for payments right now. It's a logical upgrade to -- and a huge improvement over -- the SIM API we're currently using.

 

Scott