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

24869 - Updating wording and button #3224

Merged
merged 6 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions auth-web/src/components/pay/common/PaymentErrorMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export default class PaymentErrorMessage extends Vue {
case paymentErrorType.PAYMENT_CANCELLED:
errorTitle = this.$t('paymentCancelTitle').toString()
errorMessage = this.$t('paymentCancelSubText').toString()
showOkbtn = true
showCancelbtn = false
break
case paymentErrorType.DECLINED:
errorTitle = this.$t('paymentDeclinedTitle').toString()
Expand Down Expand Up @@ -132,6 +134,7 @@ export default class PaymentErrorMessage extends Vue {
</script>

<style lang="scss" scoped>
@import "$assets/scss/theme.scss";
Copy link
Collaborator

Choose a reason for hiding this comment

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

no need I think

.pay-error{
.error-btn{
min-width: 139px !important;
Expand Down
2 changes: 1 addition & 1 deletion auth-web/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"paymentErrorTitle": "Payment Error",
"paymentErrorSubText": "Looks like we encountered an error. Your payment could not be processed.<br />Please try again or your transaction state will change to \"pending\" and saved as draft.",
"paymentCancelTitle": "Payment Cancelled",
"paymentCancelSubText": "You have cancelled your payment with credit card. Please try again or your <br />transaction state will change to \"pending\" ",
"paymentCancelSubText": "Your payment has been cancelled. No charges have been applied to <br />your credit card.",
"paymentDeclinedTitle": "Payment Declined",
"paymentDeclinedSubText": "Sorry, your payment has failed. The payment was declined.<br />Please review your payment information and try again.",
"paymentInvalidErrorTitle": "Payment Error",
Expand Down
Loading