Reply
Member
Posts: 4
Registered: ‎04-13-2018
Accepted Solution

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

 


Accepted Solutions
Solution
Accepted by topic author scottnes1
‎04-16-2018 05:21 AM
Administrator
Posts: 155
Registered: ‎03-13-2017

Re: AcceptUI.js and Saved Payment Profiles

[ Edited ]

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.

Follow me at https://twitter.com/anuragg29

View solution in original post


All Replies
Solution
Accepted by topic author scottnes1
‎04-16-2018 05:21 AM
Administrator
Posts: 155
Registered: ‎03-13-2017

Re: AcceptUI.js and Saved Payment Profiles

[ Edited ]

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.

Follow me at https://twitter.com/anuragg29
Highlighted
Member
Posts: 4
Registered: ‎04-13-2018

Re: AcceptUI.js and Saved Payment Profiles

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

 

Scott

 

Administrator
Posts: 155
Registered: ‎03-13-2017

Re: AcceptUI.js and Saved Payment Profiles

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

Follow me at https://twitter.com/anuragg29
Member
Posts: 4
Registered: ‎04-13-2018

Re: AcceptUI.js and Saved Payment Profiles

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