You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$t->errorDetail should be an instance of Models\TransactionGatewayErrorDetail
Operating System
Linux
Language version
Php 8.1.30
Library version
v3.38.0
The text was updated successfully, but these errors were encountered:
yched
changed the title
Transaction->errorDetail not available as a classed objetc
Transaction->errorDetail not available as a classed object
Jan 3, 2025
Description of the Bug
Result::transaction() maps the 'gateway_error_detail' API field to the Models\TransactionGatewayErrorDetail class
But the 'gateway_error_detail' API field does not exist, it's 'error_detail' in the actuel JSON data for a transaction :
https://apidocs.eu.chargebee.com/docs/api/transactions?lang=curl#transaction_error_detail
Steps to reproduce
Expected Behavior
$t->errorDetail
should be an instance ofModels\TransactionGatewayErrorDetail
Operating System
Linux
Language version
Php 8.1.30
Library version
v3.38.0
The text was updated successfully, but these errors were encountered: