Skip to content

feat(payment): PAYPAL-6634 Improve Error Messaging for Bank-Declined 3DS Authentication (PayPal PPCP) - #3284

Open
bc-pavlo-khodakivskyi wants to merge 1 commit into
masterfrom
PAYPAL-6634
Open

feat(payment): PAYPAL-6634 Improve Error Messaging for Bank-Declined 3DS Authentication (PayPal PPCP)#3284
bc-pavlo-khodakivskyi wants to merge 1 commit into
masterfrom
PAYPAL-6634

Conversation

@bc-pavlo-khodakivskyi

@bc-pavlo-khodakivskyi bc-pavlo-khodakivskyi commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

What/Why?

Improve Error Messaging for Bank-Declined 3DS Authentication (PayPal PPCP)

Rollout/Rollback

Revert

Testing

Screen.Recording.2026-08-27.at.13.00.51.mov
Screen.Recording.2026-08-27.at.13.03.24.mov

Note

Low Risk
Localized checkout error copy and mapping only; no auth or payment execution logic changes beyond the SDK patch bump.

Overview
Shows a specific shopper message when place-order fails with bank_declined_authentication (PayPal PPCP / bank-declined 3DS), instead of a generic payment error.

mapSubmitOrderErrorMessage now handles that error type via payment.errors.bank_declined_authentication, with matching English copy and a unit test. @bigcommerce/checkout-sdk is bumped to ^1.971.0 (lockfile updated) so the new error type can surface from the SDK.

Reviewed by Cursor Bugbot for commit ec42511. Bugbot is set up for automated code reviews on this repo. Configure here.

@bc-pavlo-khodakivskyi
bc-pavlo-khodakivskyi requested a review from a team as a code owner August 27, 2026 10:15
Comment thread packages/core/src/app/payment/mapSubmitOrderErrorMessage.ts
Comment thread packages/locale/src/translations/en.json
@bc-pavlo-khodakivskyi
bc-pavlo-khodakivskyi force-pushed the PAYPAL-6634 branch 2 times, most recently from 6834196 to a4ce91c Compare August 27, 2026 16:18

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a4ce91c. Configure here.

Comment thread packages/core/src/app/payment/mapSubmitOrderErrorMessage.ts
bc-nick
bc-nick previously approved these changes Aug 28, 2026

@bc-nick bc-nick left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

bc-maxy
bc-maxy previously approved these changes Sep 2, 2026
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.

4 participants