Processing a declined transaction

Created on 30 June 2023, over 1 year ago

Currently, when we receive a declined transaction, the user sees that the order was successfully completed, but it is not.
We receive the following receipt for a declined transaction:

[receipt] => Array
                (
                    [result] => d
                    [cc] => Array
                        (
                            [order_no] => 270
                            [cust_id] => 1
                            [transaction_no] => null
                            [reference_no] => null
                            [transaction_code] => null
                            [transaction_type] => 200
                            [transaction_date_time] => null null
                            [corporate_card] => 
                            [amount] => null
                            [response_code] => null
                            [iso_response_code] => null
                            [approval_code] => null
                            [card_type] => null
                            [dynamic_descriptor] => Commerce

And for successful transactions:

[receipt] => Array
                (
                    [result] => a
                    [cc] => Array
                        (
                            [order_no] => 270
                            [cust_id] => 1
                            [transaction_no] => 748628-0_500
                            [reference_no] => 660144080017542590
                            [transaction_code] => 00
                            [transaction_type] => 200
                            [transaction_date_time] => 2023-06-30 02:58:23
                            [corporate_card] => true
                            [amount] => 6.00
                            [response_code] => 027
                            [iso_response_code] => 01
                            [approval_code] => KN6328
                            [card_type] => M
                            [dynamic_descriptor] => Commerce
πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine marchuk.vitaliy Rivne, UA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024