Shopify / checkout-sheet-kit-android

Shopify’s Checkout Sheet Kit makes it simple to perform a checkout inside your Android app.
MIT License
12 stars 3 forks source link

[Major 3.0.0] Improve error handling (HTTP + Bridge events) #87

Closed kiftio closed 7 months ago

kiftio commented 7 months ago

What are you trying to accomplish?

Includes changes from https://github.com/Shopify/checkout-sheet-kit-android/pull/89

Decode error events that are send over the bridge, and return an appropriate error in the CheckoutEventProcessor's onCheckoutFailed() callback.

This is part 1 of the graceful degradation improvements we're making. Part 2 will include a web fallback in the event that errors are related to Checkout Sheet Kit code.

Before you deploy