Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA update #13

Merged
merged 5 commits into from
Dec 5, 2022
Merged

CA update #13

merged 5 commits into from
Dec 5, 2022

Conversation

taehyunlim
Copy link
Contributor

@taehyunlim taehyunlim commented Nov 29, 2022

CA Update for M2 Telesales


Currently, once telesales checkout is completed by the end customer, the confirmation redirect url is reached to initiate the auth request from the merchant's Magento server.

To support CA, Telesales need to include country code and currency information in the authorization request to POST /transactions endpoint. However, since the confirm redirect parameter only includes checkout token (and no other information is passed to look up the currency or country code attributes of an order), this requirement poses a challenge.

The proposed solution is to move the auth flow away from end customer reaching the confirm endpoint synchronously, and instead allowing admin user (in-store) to initiate the auth flow async once customer completes telesales checkout flow. As a result, one additional UI (refresh button) will be introduced to initiate the auth flow.

image

@taehyunlim taehyunlim marked this pull request as ready for review November 29, 2022 17:05
Copy link
Contributor

@kkong87 kkong87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@taehyunlim taehyunlim merged commit 9a3916f into master Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants