I have a customer who needs to do a $0 auth on his website, and receive back a token he can use to charge the card later, when the order ships. Does this require customer profiles? If not, at a high level, how would I do it?
In case it matters, I will not be using an SDK as this would be done with an uncommon programming language.
Thank you,
Susan
โ08-02-2023 07:32 AM
Susan,
I'm not sure this is the best answer. The documentation says it requires an amount in the initial call:
https://developer.authorize.net/api/reference/index.html#payment-transactions-authorize-a-credit-car...
hth,
David
โ08-02-2023 07:37 AM
David, thanks for the reply. I see that the value is required, but I do not get back an error if the value equals zero. Nor does the documentation say that it must be a positive amount.
However, I am unsure if any of the response values is actually a token that can be used for the subsequent charge.
I thought at first it might be the transaction ID, but now I don't think it can be used for subsequent charges (tokenized or reference transactions, if such a thing exists with authorize.net). Its description is:
"Use this value to reference at a later time the transaction generated by this API call. You may need the transaction ID for follow-on transactions such as credits, voids, and captures of unsettled transactions, as well as for reporting calls." It doesn't mentioned additional charges, but my case is also an uncommon one.
โ08-02-2023 09:07 AM
annaharrow thank you. Which of the returned fields from the authorization call references the token? None of them are defined with the word "token" so I'm not sure if something like refid or transid is the token.
โ08-05-2023 11:22 AM