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

fix(authorizenet): CC last 4 is too short #2639

Merged

Conversation

griest024
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

the CC last 4 was just sliced 12 characters from the beginning of the CC number

What is the new behavior?

the CC last 4 is actually calculated as 4 characters from the end of the number

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@griest024 griest024 added package: authorizenet @daffodil/authorizenet platform: magento This PR or issue is related to Magento layer: driver This PR or issue is related to the driver layer of Daffodil status: awaiting merge This PR has met all the requirements for merge and is waiting on an admin labels Dec 6, 2023
@griest024 griest024 self-assigned this Dec 6, 2023
@griest024 griest024 requested a review from a team as a code owner December 6, 2023 18:10
@griest024 griest024 merged commit 6ff51a6 into graycoreio:develop Dec 7, 2023
9 checks passed
@gray-bot gray-bot mentioned this pull request Dec 7, 2023
@griest024 griest024 deleted the fix/anet/driver/magento/cc-last-4 branch December 7, 2023 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
layer: driver This PR or issue is related to the driver layer of Daffodil package: authorizenet @daffodil/authorizenet platform: magento This PR or issue is related to Magento status: awaiting merge This PR has met all the requirements for merge and is waiting on an admin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant