202-ecommerce / stripe_official

After years of hard work with Stripe connector for PrestaShop, 202 ecommerce stop the development of Stripe module on January 9th 2023. Thanks for all contributors that help us!
20 stars 20 forks source link

Problem on payment #37

Closed bibidinu closed 3 years ago

bibidinu commented 3 years ago

Invalid Stripe API version: 2020-03-02;alipay_beta=v1. You do not have permission to pass this beta header: alipay_beta. If you have any questions, we can help at https://support.stripe.com/.

I updated both the module and the api to the latest version but the payment problem continues to persist.

Version module 2.2.2 Prestashop 1.7.6.8

benrich commented 3 years ago

I'm too wondering why this alipay_beta API version is being used. For context

./views/js/payments.js

{ betas: ["alipay_pm_beta_1"], apiVersion: "2020-03-02;alipay_beta=v1", }

Not that changing core files is a good idea but changing the version to this at least works (for me)

{ apiVersion: "2020-08-27", }

Obviously needs looking into properly

Version module 2.2.2 Prestashop 1.6.1.24

bibidinu commented 3 years ago

Thanks Ben i have change the code and now work fine. Thanks

mribeiro202 commented 3 years ago

Hello, thank you for warning us. We made a patch on version 2.2.3 which is waiting for validation by the PrestaShop team.