Skip to content

DOC-821 Rejection and Return reasons for Merchant payment methods #341

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ntombing
Copy link
Contributor

@ntombing ntombing commented Jul 4, 2025

No description provided.

@ntombing ntombing requested a review from racene-swan July 4, 2025 12:38
Copy link

linear bot commented Jul 4, 2025

Copy link

netlify bot commented Jul 4, 2025

Deploy Preview for incomparable-tiramisu-91a96a ready!

Name Link
🔨 Latest commit 9272536
🔍 Latest deploy log https://app.netlify.com/projects/incomparable-tiramisu-91a96a/deploys/6867cb449d6faf00088f0fb9
😎 Deploy Preview https://deploy-preview-341--incomparable-tiramisu-91a96a.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@max-koro max-koro left a comment

Choose a reason for hiding this comment

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

This looks fantastic. Really thorough work!

Just a couple of small polish items:

  • I noticed we use both "rejected" and "declined" - should we pick one and stick with it?
  • Quick style thing: could we swap reach out to for contact? Reads a bit smoother
  • Can we make instances of The transaction was refused by Swan for internal reasons. more descriptive to minimize Support tickets? e.g. Swan declined the transaction due to internal risk management or compliance requirements.

Comment on lines +163 to +166
| `SoftDeclineSwanTechnicalErrorOccurred` | There was a technical error preventing the processing of this payment. |
| `SoftDeclineTransactionAmountIncorrect` | The transaction amount does not match the expected or authorized amount. |
| `SwanRefused` | The transaction was refused by Swan for internal reasons. |
| `SwanTechnicalErrorOccurred` | There was a technical error preventing the processing of this payment. |
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the difference between SoftDeclineSwanTechnicalErrorOccurred and SwanTechnicalErrorOccurred?

| `SoftDecline3dsExpiration` | The 3D Secure authentication session expired before completion. |
| `SoftDecline3dsFailure` | The 3D Secure authentication failed. |
| `SoftDecline3dsNotSupported` | The card does not support 3D Secure authentication. |
| `SoftDecline3dsRequired` | The transaction requires 3D Secure authentication, but it was not completed. |
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
| `SoftDecline3dsRequired` | The transaction requires 3D Secure authentication, but it was not completed. |
| `SoftDecline3dsRequired` | 3D Secure authentication was required but not completed. |

| `SoftDeclineCardExpired` | The card used is no longer valid because it has expired. |
| `SoftDeclineCardNotActivated` | The card has not been activated yet. The card holder should reach out to their card issuer for more information. |
| `SoftDeclineCardNotSupported` | The card is not supported for this type of transaction. The card holder should reach out to their card issuer for more information. |
| `SoftDeclineCvcCheckFailed` | The CVC security check did not succeed. |
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
| `SoftDeclineCvcCheckFailed` | The CVC security check did not succeed. |
| `SoftDeclineCvcCheckFailed` | The card security code (CVC) verification failed. |

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