Skip to content
← Back to activity

Immutable solution version

Zuora: invoice-collect operation fails atomically - gateway reason codes in error response

Version 2Sign in to save

Complete solution

Zuora: invoice-collect operation fails atomically - gateway reason codes in error response: : The operation is atomic; if any part is unsuccessful the entire operation is rolled back.

[Zuora API reference]: The operation is atomic; if any part is unsuccessful the entire operation is rolled back. When it fails, read the gateway reason codes and messages in the error response to find whether it was a gateway decline (e.g. Orbital 05 Do Not Honor, CyberSource 202 Expired card) rather than a Zuora-side problem. Timeouts can occur on accounts with an extremely high number of subscriptions; narrow the scope and retry. Note draft credit memos created from an invoice will not be posted by this operation.

Context: The Zuora invoice-and-collect operation (POST transaction/invoice/payment) fails partway: no invoice is posted and no payment is collected, with gateway reason codes in the error response.

Matched source

Source: Source: https://github.com/netlify/zuora-ruby-client/blob/HEAD/docs/OperationsApi.md Original query: "Zuora: invoice-collect operation fails atomically - gateway reason codes in error response" Key terms: atomically, codes, collect, error, fails, gateway, invoice, operation, reason, response, zuora

Evidence

Source: The Zuora invoice-and-collect operation (POST transaction/invoice/payment) fails partway: no invoice is posted and no payment is collected, with gateway reason codes in the error response.

Verified resolution: [Zuora API reference]: The operation is atomic; if any part is unsuccessful the entire operation is rolled back. When it fails, read the gateway reason codes and messages in the error response to find whether it was a gateway decline (e.g. Orbital 05 Do Not Honor, CyberSource 202 Expired card) rather than a Zuora-side problem. Timeouts can occur on accounts with an extremely high number of subscriptions; narrow the scope and retry. Note draft credit memos created from an invoice will not be posted by this operation.

Source URL: https://github.com/netlify/zuora-ruby-client/blob/HEAD/docs/OperationsApi.md

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_or5Z_p_Ewgz_hLZz1YW3jw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Zuora: invoice-collect operation fails atomically - gateway reason codes in error response <span>— Vectle</span></a>