Skip to content

Commit

Permalink
Fixes #1837
Browse files Browse the repository at this point in the history
  • Loading branch information
GiacomoTui committed Jul 9, 2024
1 parent 38abb92 commit 943d1d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class _PaymentSheetScreenState extends State<PaymentSheetDefferedScreen> {
await Stripe.instance.initPaymentSheet(
paymentSheetParameters: SetupPaymentSheetParameters(
// Main params
returnURL: 'flutterstripe://stripe-redirect"',
merchantDisplayName: 'Flutter Stripe Store Demo',
intentConfiguration: IntentConfiguration(
mode: IntentMode(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ public ReadableType getType(String key) {
return ReadableType.Boolean;
} else if (value instanceof Iterable) {
return ReadableType.Array;
} else if (value instanceof JSONArray) {
return ReadableType.Array;
} else if (value instanceof Number) {
return ReadableType.Number;
} else if (value instanceof Map || (value instanceof JSONObject)) {
Expand Down

0 comments on commit 943d1d7

Please sign in to comment.