Skip to content

Added retry mechanism and expanded error code handling

Matt Thompson requested to merge retry-fetch-recurring-charge into 7.0

Updated the retries.rb file to handle error codes 429 and 430, and added a delay before retrying. Also revised the apply_tier_op.rb file, implementing a retry mechanism to the API call for retrieving an active charge. As the Shopify API tends to have sporadic issues, these changes provide a way to recover from transient errors and improve application robustness.

Merge request reports