Happy Business Starts Here

Highlighted
Support SME

Response Code is different for payment processed through Stripe v1 and Stripe v2

(text in blue: attributes from Stipe, text in green: params from Zuora)

 

With Stripe v1, the decline_code returned by the Stripe payment gateway is being used as GatewayResponseCode of the Payment in Zuora and there was a known issue that the decline_code could not be completely saved because of the length limitation of GatewayResponseCode.

e.g.

Screen Shot 2019-09-11 at 7.10.01 PM.png

 

With Stripe v2, this has been fixed. The ResponseCode returned by the Stripe payment gateway is being use as GatewayResponseCode of the Payment in Zuora and type, code, decline_code (if there is any) returned by the Stripe payment gateway will be saved within GatewayResponse of the Payment in Zuora to provide more information about declined reason to customer.

e.g.

Screen Shot 2019-09-11 at 7.09.50 PM.png

 

If you're migrating your payment gateway from Stripe v1 to Stripe v2 and there is integration relying on the value of Payment.GatewayResponseCode, please refer to above to make necessary update to your integration.

 

Please refer to below documents from Stripe payment gateway for more information about the ERROR attributes returned by Stripe payment gateway.

https://stripe.com/docs/api/errors#errors-decline_code

https://stripe.com/docs/declines/codes






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √