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

Issue #77 Display errors that are returned by payment request to cust… #128

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

chrisgan
Copy link
Collaborator

@chrisgan chrisgan commented Jan 11, 2024

…omer.

Related tickets & documents

#77 #101

Description

#77
Takes error messages that are returned when the request to the payment API fails, checks the format of these and either adds a single error or multiple errors to the Woocommerce notices as error type. These are then displayed to the customer as errors on the page.
#101
Changes the Cancel URL to be the 'Pay for Order' page. Customer is returned to a page to allow them to choose payment method again and re-attempt payment. Message is displayed to inform the customer (Note PayTrail uses the same URL whether customer cancels or payment fails, hence message is generic)

@chrisgan chrisgan requested a review from Taiteilija January 11, 2024 13:57
@loueranta-paytrail loueranta-paytrail merged commit b09ac4e into paytrail:master Mar 7, 2024
1 check passed
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.

3 participants