question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

paymentRequestWithCardForm on iOS with 9.0.0 throwing exception

See original GitHub issue

Before I have submitted the issue

[x] I have read an installation guide
[x] I know that for an iOS I need to install pods because I’ve read the installation guide
[x] I have read a linking guide and checked that everything is OK like in manual linking guide
[x] I know that before using tipsi-stripe I need to set options for my app as described in usage guide

The problem

Since update 9.0.0 ios can’t call paymentRequestWithCardForm. Works with tipsi-stripe to 8.0.2, and pod ‘Stripe’, ‘19.0.1’

Environment

  • tipsi-stripe version: 9.0.0
  • Last tipsi-stripe version where the issue was not reproduced (if applicable):
  • iOS or Android: iOS
  • OS version: 14.4
  • React-Native version: 0.63.2

Exception '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]' was thrown while invoking paymentRequestWithCardForm on target StripeModule

Screenshots, GIFs (Must to have)

image

Code To Reproduce Issue (Good To Have)

Just default example code will create this issue

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:6
  • Comments:12

github_iconTop GitHub Comments

33reactions
nicholasmarais1158commented, Apr 8, 2021

As a workaround, provide a complete theme.

stripe.paymentRequestWithCardForm({
    theme: {
        primaryBackgroundColor: 'white',
        secondaryBackgroundColor: 'white',
        primaryForegroundColor: 'black',
        secondaryForegroundColor: 'black',
        accentColor:'blue',
        errorColor:'red',
    },
});
1reaction
minhas-techcommented, May 7, 2021

I am still getting the same error, Image nill

Read more comments on GitHub >

github_iconTop Results From Across the Web

paymentRequestWithCardForm on iOS with 9.0.0 throwing exception
Coming soon: A brand new website interface for an even better experience!
Read more >
.paymentRequestWithCardForm(options) -> Promise · tipsi-stripe
options (iOS only) — An object with the following keys: ... String, The error color of this theme - it will be used...
Read more >
MFMailComposeViewController throws an error only in iOS 9
The issue is with simulator, on the real device mail composer is working correctly.
Read more >
App supports iOS 9.0 at a minimum - Apple Developer
Submitted for review on August 12, 2021 Our App installation package allows the minimum support for iOS 9.0 devices, and after the release...
Read more >
Tipsi Tipsi-Stripe Statistics & Issues - Codesti
Issue Title State Comments Created Date Updated Date Can't build app with xcode 14 open 0 2022‑09‑14 2022‑09‑17 Showing "Manifest merge failed error" open 8...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found