Open rbedemann opened 3 years ago
I created a basic Plugin implementation for the most important functionality (login and checkout) here: https://github.com/rbedemann/capacitor-sumup-plugin. Feel free to review the implementation.
I created a basic Plugin implementation for the most important functionality (login and checkout) here: https://github.com/rbedemann/capacitor-sumup-plugin. Feel free to review the implementation.
Hi @rbedemann, I'm pretty new to capacitor and I'm having some problem using the plugin you built. Hope you can help me ;)
I've followed your implementation guide but when I tried to run it on iOS I got "TypeError: undefined is not a function (near '...SumUp.checkout...')".
By the way I was not able to use "npm i -S @capacitor-community/sumup" to install it. I had to run "npm I -S https://github.com/rbedemann/capacitor-sumup-plugin" Is it a problem due to installation?
(I have already tried npx cap sync, the plugin is visible to capacitor
)
Hey @GiacomoVeneir,
thanks for your message!
Unfortunately iOS is not supported by the plugin at the moment. I neither have any experience in iOS development nor a device to test the implementation currently.
There's another plugin for Ionic (https://ionicframework.com/docs/native/sum-up, also linked above) which can also be used in capacitor. Have you tried that one already?
The reason why you could not install capacitor from @capacitor-community/sumup is because I'm still waiting for this plugin to be officially approved as a capacitor-community-plugin. As long as this issue is still open, the plugin proposal was not accepted/checked.
Hope that helped you a little bit.
Thanks @rbedemann for you work anyway! Good luck in the acceptance process!
(Yes, I tried the other plugin too. But it did not support iOS either)
@rbedemann i added your plugin to awesome-capacitor if that is useful please take time to star the repo as well :)
Plugin Request
Name: SumUp Package:
@capacitor-community/sum-up
Platform(s)
Android iOS
Existing Solutions
https://ionicframework.com/docs/native/sum-up https://github.com/nuvoPoint/cordova-plugin-sumup
Description
Integration of SumUp's own Android and iOS SDKs.