#khuebt
1 messages ยท Page 1 of 1 (latest)
Could you share the code that throws this error?
yes but it too long
wait me a sec
here pls help take a look
i see it called to correct webhook url already
but seems got error when creating class at elper/Webhooks.php(115)
Sorry, I meant the line of code you wrote that threw this error. It's likely in WebhookEvent.php line 11
i did not modify anything, i see it's constructor function
the stack trace tell us it begin error from creating object at line 115 from other class
could you help to check
something wrong at line 115
Are you using any third-party library?
If you consume Stripe events directly with official Stripe PHP library, the code should look like this: https://stripe.com/docs/webhooks/quickstart?lang=php
i install stripe module, and stripe php lib in this guide
is there any issue with php version or magento version
im use PHP 7.3.33
and magento 2.4.2
oh i think that cause the problem ๐
"php": ">=7.4"
stripe module require that
protected array $event; => this is syntax for 7.4+
yea
should i change to protected $event;
let me change php version then
Ah, I see that you're using Magento 2! I'd recommend giving a try by upgrading the PHP version.
This channel is for direct integration with Stripe. I don't have the neccessary expertise to help you with Magento 2. If you're still not able to get it to work, Stripe Support https://support.stripe.com/contact will be happy to help.
No problem! Happy to help ๐