Reply
Highlighted
Contributor
Posts: 12
Registered: ‎10-09-2018

Using Accept.js with Oauth token

I built a platform where merchants using my app grant me access to their Authorize.net account using the Oauth flow. It gives me back a token which I can use to authenticate API requests. I want to use Accept.js though instead of the API calls because I want to offload some of the PCI compliance burdens. Is it possible to use that auth token to authenticate Accept.js transactions? It says I need the API login ID and secret, but I don't want to have to store that info for my users. That's the whole point of using oauth. 

 

Any help is muc appreciated, thanks!

Highlighted
Posts: 333
Kudos: 59
Solutions: 36
Registered: ‎03-13-2017

Re: Using Accept.js with Oauth token

Hi @jdoyle112

 

Yes that should be possible .  Do note the Accept payment Token should be of the merchant and not anyone else . 

 

You can get the public client key of the merchant for Accept.js by calling the API getMerchantDetails using the oauth token . 

 

Thanks

Anurag





Send feedback at developer_feedback@authorize.net
Highlighted
Contributor
Posts: 12
Registered: ‎10-09-2018

Re: Using Accept.js with Oauth token

Thanks for the response @Anurag. Using getMerchantDetails, I can obtain the client key but I don't think it gives me the api login ID. Is that true? If so, is there a way to grab the login ID? Thanks.

Highlighted
Member
Posts: 6
Registered: ‎08-12-2019

Re: Using Accept.js with Oauth token

Does anybody has a response for @jdoyle112 question? How to be with API login ID in Accept.js?

Thanks in advance

Highlighted
Member
Posts: 2
Registered: ‎10-12-2020

Re: Using Accept.js with Oauth token

I think that thanks for the valuabe information and insights you have so provided here. I love Sonic games, do you like it?