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
When I view the response of the authorizeCreditCard mutation, it only contain a simple status status: "PROCESSOR_DECLINED. Even the statusHistory field is also return the same status:
May I know is it possible to get the detail processor response from the api?
Many thanks!
The text was updated successfully, but these errors were encountered:
dcheng857
changed the title
How to get the detail processor response from the Mutation
How to get the detail processor response from the Mutation ?
Jul 4, 2023
Hi @dcheng857
Yes, it is possible to get the details of the processor response from the API. The statusHistory field contains a list of PaymentStatusEvents. These events can be of multiple implementations including as a ProcessorDeclinedEvent. This event contains the field processorResponse which will contain all of the details the processor returns. This can be implemented by adding the following under the statusHistory.
... on ProcessorDeclinedEvent {
processorResponse {
<desired fields>
}
This can then be done for the other types of PaymentStatusEvents as well.
Hi @dcheng857 Yes, it is possible to get the details of the processor response from the API. The statusHistory field contains a list of PaymentStatusEvents. These events can be of multiple implementations including as a ProcessorDeclinedEvent. This event contains the field processorResponse which will contain all of the details the processor returns. This can be implemented by adding the following under the statusHistory.
... on ProcessorDeclinedEvent {
processorResponse {
<desired fields>
}
This can then be done for the other types of PaymentStatusEvents as well.
Hi here, I'm trying to simulate some error response by the transaction amount which mentions in the Braintree document:
https://developer.paypal.com/braintree/docs/reference/general/testing/node#transaction-amounts
When I view the response of the
authorizeCreditCard
mutation, it only contain a simple statusstatus: "PROCESSOR_DECLINED
. Even the statusHistory field is also return the same status:May I know is it possible to get the detail processor response from the api?
Many thanks!
The text was updated successfully, but these errors were encountered: