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

By payment error during a checkout the customer is not being informed. #1

Open
schneebergerUnitM opened this issue Jun 27, 2024 · 0 comments

Comments

@schneebergerUnitM
Copy link

schneebergerUnitM commented Jun 27, 2024

When a payment error happens during checkout the customer is not being about errors when processing the payment.

The error response looks like this:

Array
(
    [customer] => Array
        (
            [billing] => Array
                (
                    [city] => ....
                    [company] => .....
                    [country_code] => FR
                    [house_no] => 
                    [state] => ....
                    [street] => .....
                    [zip] => ....
                )
            [customer_ip] => ....
            [customer_no] => ....
            [email] => .....
            [first_name] => ....
            [gender] => ....
            [last_name] => .....
        )

    [result] => Array
        (
            [additional_message] => 51 Not sufficient funds
            [status] => FAILURE
            [status_code] => 406012
            [status_text] => Insufficient funds or credit limit exceeded
        )

    [transaction] => Array
        (
            [amount] => 0
            [currency] => EUR
            [date] => 2024-06-14 11:55:46
            [order_no] => .....
            [payment_data] => Array
                (
                    [card_brand] => VISA
                    [card_expiry_month] => ..
                    [card_expiry_year] => ..
                    [card_holder] => ..........
                    [card_number] => XXXXXXXXXXXX
                    [last_four] => 
                )

            [payment_type] => CREDITCARD
            [status] => FAILURE
            [status_code] => 406012
            [test_mode] => 0
            [tid] => 
        )

)

In this case, the customer is confused not getting any info and checkout just hangs:

Bildschirmfoto 2024-06-27 um 10 28 56
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

No branches or pull requests

1 participant