MultiSafepay / pwastudio-multisafepay-payment-integration

MultiSafepay Payment Integration plugin for PWA Studio (Venia)
Open Software License 3.0
5 stars 6 forks source link

Compatibility with PWA Studio 10.0.0 #1

Closed marceldekoning closed 3 years ago

marceldekoning commented 3 years ago

Hello,

I'm trying to install and use the module, but after installing it (you have to use yarn 1.22.10) I get a lot of errors. It starts on every page with the following two errors:

client?8a80:186 ../extensions/multisafepay-payment-integration/node_modules/@magento/venia-ui/lib/util/images.js Module not found: Error: Can't resolve '@magento/venia-drivers' in '/home/marcel/projects/pwa-studio/packages/extensions/multisafepay-payment-integration/node_modules/@magento/venia-ui/lib/util'

../extensions/multisafepay-payment-integration/src/components/successPage/successPage.js Module not found: Error: Can't resolve '@magento/venia-drivers' in '/home/marcel/projects/pwa-studio/packages/extensions/multisafepay-payment-integration/src/components/successPage'

And when you go to the checkout, I get another error as shown in the image: https://postimg.cc/DmsxC14x

TypeError useToastContext is not a function or its return value is not iterable

Is this module compatible with PWA Studio 10? And are you intending to maintain it regularly?

Kind Regards, Marcel de Koning (NL)

vinodsowdagar commented 3 years ago

Hi @marceldekoning ,

Thank you for the report.

We are not yet compatible with PWA Studio 10 and we have currently planned to add compatibility in the next release. We are intending to maintain it regularly and we expect to do a new release soon.

I will let you know when we have the update ready. If you have questions or comments until then, please let us know.

marceldekoning commented 3 years ago

He @Vinod-MultiSafepay,

Thank you for your reply. Good to hear your positive intentions. I'm looking forward to your next release.

vinodsowdagar commented 3 years ago

Hi @marceldekoning ,

Magento changed the extension override system in version 10 and because of it, we decided to wait until they fixed it in version 11.

We have just released a new version of our package that adds compatibility with PWA Studio 11: https://github.com/MultiSafepay/pwastudio-multisafepay-payment-integration/releases/tag/1.0.1

For now i am closing this issue. If you have any more questions, feel free to reopen this issue or create a new one.