Problem migrating from Capacitor 7 to v.8 and to SPM
I migrated my app from Capacitor 7 to Capacitor 8, and on iOS I switched from CocoaPods to Swift Package Manager (SPM).
However, I now have a dependency issue when I try to add the packages (even before running a build).
It tells me: Failed to resolve dependencies Dependencies could not be resolved because 'stripe' depends on 'capacitor-swift-pm' 7.0.0..<8.0.0
what shoudl I do?
Thanks for opening the issue.
I haven’t started updating the plugin for Capacitor 8 yet. I’m planning to do this together with a major Stripe update, which requires setting aside a bit of focused time.
I expect to complete the work within about a week, so I’d appreciate a little more patience.
Thanks for opening the issue.
I haven’t started updating the plugin for Capacitor 8 yet. I’m planning to do this together with a major Stripe update, which requires setting aside a bit of focused time.
I expect to complete the work within about a week, so I’d appreciate a little more patience.
take your time and I realle (and we all do) appreciate your work!
grazie mille.
I’ve published a pre-release v8.0.0-0.
You can find the release here:
https://github.com/capacitor-community/stripe/releases/tag/v8.0.0-0
It’s available via the next tag:
npm install @capacitor-community/stripe@next
If everything looks good over the next few days, I’m planning to promote this to the official v8.0.0 major release.
Please give it a try and let me know if you run into any issues 🙏
I’ve published a pre-release v8.0.0-0.
You can find the release here:
https://github.com/capacitor-community/stripe/releases/tag/v8.0.0-0It’s available via the
nexttag:npm install @capacitor-community/stripe@nextIf everything looks good over the next few days, I’m planning to promote this to the official v8.0.0 major release.
Please give it a try and let me know if you run into any issues 🙏
I will be back on Monday, I will try and let you know. Thank you !
I’ve published a pre-release v8.0.0-0.
You can find the release here: https://github.com/capacitor-community/stripe/releases/tag/v8.0.0-0
It’s available via the
nexttag:npm install @capacitor-community/stripe@next If everything looks good over the next few days, I’m planning to promote this to the official v8.0.0 major release.
Please give it a try and let me know if you run into any issues 🙏
tested on capacitor 8 and spm, so far so good.
my app uses Payment Sheet and seemed to be working.
Later today i will try the Apple pay and google pay payments, (i dont know why), right now if i try to use them (i'm on sandbox) the real payment card shows up instead of a test one. I will check the configuration later.
Just to clarify this point: with Stripe Apple Pay, even in test/sandbox mode, you need to add a real card to Apple Wallet.
This is expected behavior — no real charge will be made, even though a real card is shown during the Apple Pay flow.
Stripe mentions this in their official documentation as well: https://stripe.com/docs/apple-pay#testing
Just to clarify this point: with Stripe Apple Pay, even in test/sandbox mode, you need to add a real card to Apple Wallet.
This is expected behavior — no real charge will be made, even though a real card is shown during the Apple Pay flow.
Stripe mentions this in their official documentation as well: https://stripe.com/docs/apple-pay#testing
Oh perfect. Well, I've tested and I haven't found any issues
Let's see if someone else has tried it out
Grazie mille
Thanks for checking 🙏
I was able to confirm on my side as well that everything looks good, so I’ve now released this as v8.0.0 🎉
I’ll close this issue, but please feel free to reopen it or open a new one if you run into anything else.