cancel
Showing results for 
Search instead for 
Did you mean: 

Need to generate the transaction token in Javascript.

hey!

I am using authorize.net api to process the payment transaction. I was able to get the form. The real problem I am stuck is to generate the token for the payment form. https://developer.authorize.net/api/reference/index.html#accept-suite-get-an-accept-payment-page on this page they have given an example for token. I need to generate the token and pass it via javascript. Can anyone help me fix this issue? 

4 REPLIES 4

@furqanmajeed007 wrote:

hey!

I am using authorize.net api to process the payment transaction. I was able to get the form. The real problem I am stuck is to generate the token for the payment form. https://developer.authorize.net/api/reference/index.html#accept-suite-get-an-accept-payment-page / on this page they have given an example for token. I need to generate the token and pass it via javascript. Can anyone help me fix this issue? 


Thank you for sharing the link, I will try to figure it out for more.

Rhys69
Member

To construct & process transactions you will need our API JavaScript library: near-api-js

 

 

atlas fusd

Lamarre889K
Member

Is there any documentation or example around this API? 

Thank you