AuthorizeNet/sample-code-python

Support payment nonce from accept.js

striveforbest opened this issue · 1 comments

Is there a way to use this app with payment nonce (dataValueDescriptor) retrieved by accept.js? That seems like the most logic way instead of passing sensitive information like credit card from frontend to backend via network.

I am using accept.js to validate credit card information on the frontend, auth.net returns DataValueDescriptor which lets me use it to charge the card within 15 minutes. I pass the DataValueDescriptor on form submission to the backend (instead of CC information) and ready to charge the card. How do I do that?

Reference:
https://developer.authorize.net/api/reference/features/acceptjs.html#response-handling