You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To complete a single transaction (say, authorization) with some gateways, various tokens need to be created like customer_token, card_token, session_token, etc. Some tokens expire, some don't and we should return these tokens to the caller for possible re-use.
Proposed Solution
Rename the token field to tokens of the type: keyword.
If the following tokens are generated during an authorization: customer_token, card_token, then they can be returned like so:
Should the value of tokens be a keyword list? I suppose those keys are unique. I think maybe a map would be more sufficient. Anyway, I could tackle this issue if no one else is working on it!
Motivation
To complete a single transaction (say,
authorization
) with some gateways, various tokens need to be created likecustomer_token
,card_token
,session_token
, etc. Some tokens expire, some don't and we should return these tokens to the caller for possible re-use.Proposed Solution
Rename the
token
field totokens
of the type:keyword
.If the following tokens are generated during an
authorization
:customer_token
,card_token
, then they can be returned like so:Todo
response.ex
response.ex
The text was updated successfully, but these errors were encountered: