#khuebt

1 messages ยท Page 1 of 1 (latest)

obsidian turretBOT
next wadi
#

Could you share the code that throws this error?

tawdry lava
#

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)

next wadi
#

Sorry, I meant the line of code you wrote that threw this error. It's likely in WebhookEvent.php line 11

tawdry lava
#

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

next wadi
#

Are you using any third-party library?

tawdry lava
#

line 11 just define variable, hmm

#

yes we have some other extensions

next wadi
tawdry lava
#

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

next wadi
#

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.

tawdry lava
#

oh sorry

#

but thank you for your help @next wadi

next wadi
#

No problem! Happy to help ๐Ÿ˜„