- Posts: 18
- Thank you received: 1
error Stripe Plugin - 0 Call to a member function create() on null
5 years 11 months ago #325341
by Baracus
-- url of the page with the problem -- :
shop.leamichedichicca.it/
-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.3.8
Dear Sirs,
I have a problem with Stripe Payment Plugin. The first time I did a payment (using development keys and fake credit card), all went fine.
But after the first attempt, all other failed with the error "0 Call to a member function create() on null".
I don't unterstand why, because nothing changed on settings. On Stripe account, I see that for the first transaction these requests:
POST /v1/tokens,
POST /v1/customers
POST /v1/charges.
For all others transactions I have only the POST /v1/tokens.
Could you help me?
Thank you,
Danilo
-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.3.8
Dear Sirs,
I have a problem with Stripe Payment Plugin. The first time I did a payment (using development keys and fake credit card), all went fine.
But after the first attempt, all other failed with the error "0 Call to a member function create() on null".
I don't unterstand why, because nothing changed on settings. On Stripe account, I see that for the first transaction these requests:
POST /v1/tokens,
POST /v1/customers
POST /v1/charges.
For all others transactions I have only the POST /v1/tokens.
Could you help me?
Thank you,
Danilo
Please Log in or Create an account to join the conversation.
5 years 11 months ago - 5 years 11 months ago #325369
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic error Stripe Plugin - 0 Call to a member function create() on null
Hello
Please enable temporally the debug mode in your Joomla global configuration so you will have the call stack for the error.
It will gave us the line where the error is generated and allow us to understand why an object is not initialized.
Regards,
Please enable temporally the debug mode in your Joomla global configuration so you will have the call stack for the error.
It will gave us the line where the error is generated and allow us to understand why an object is not initialized.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Last edit: 5 years 11 months ago by Jerome.
Please Log in or Create an account to join the conversation.
5 years 11 months ago #325376
by Baracus
Replied by Baracus on topic error Stripe Plugin - 0 Call to a member function create() on null
Thank you for fast answer.
In attachment the screenshot of debug mode.
In attachment the screenshot of debug mode.
Please Log in or Create an account to join the conversation.
5 years 11 months ago #325408
by nicolas
Replied by nicolas on topic error Stripe Plugin - 0 Call to a member function create() on null
Hi,
Please note that you're using the legacy Stripe plugin which isn't supported anymore. On Stripe's end too, the API this plugin uses isn't SCA compliant and the API is supposed to be discontinued already.
To use Stripe, you need to use this plugin which is the only current and supported solution for Stripe and HikaShop:
www.hikashop.com/marketplace/product/133...nect-by-obsidev.html
Please note that you're using the legacy Stripe plugin which isn't supported anymore. On Stripe's end too, the API this plugin uses isn't SCA compliant and the API is supposed to be discontinued already.
To use Stripe, you need to use this plugin which is the only current and supported solution for Stripe and HikaShop:
www.hikashop.com/marketplace/product/133...nect-by-obsidev.html
The following user(s) said Thank You: Baracus
Please Log in or Create an account to join the conversation.
5 years 11 months ago - 5 years 11 months ago #325466
by Baracus
Replied by Baracus on topic error Stripe Plugin - 0 Call to a member function create() on null
hi,
yes, I bought the Plugin V3 and now all is perfect.
Thank you,
Danilo
yes, I bought the Plugin V3 and now all is perfect.
Thank you,
Danilo
Last edit: 5 years 11 months ago by Baracus.
The following user(s) said Thank You: Philip
Please Log in or Create an account to join the conversation.
Time to create page: 0.107 seconds