[Skip to main content](#vessel-content)

#   error Stripe Plugin - 0 Call to a member function create() on null

##

- **[Baracus](/forum/user/59583-baracus "View Baracus's Profile")**
- [![Baracus's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59583-baracus "View Baracus's Profile") Topic Author
- [ Offline](/forum/user/59583-baracus)

Less More

- Posts: 18
- Thank you received: 1
-
-

6 years 3 weeks ago [\#325341](#325341) by [Baracus](/forum/user/59583-baracus "View Baracus's Profile")  *[error Stripe Plugin - 0 Call to a member function create() on null](/forum/29-payment-methods/901097-error-stripe-plugin-0-call-to-a-member-function-create-on-null#325341 "-- 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 &quot;0 Call to a member function create() on null&quot;.  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")* was created by *[Baracus](/forum/user/59583-baracus "View Baracus's Profile")*

-- url of the page with the problem -- : [ shop.leamichedichicca.it/](https://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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDEwOTctZXJyb3Itc3RyaXBlLXBsdWdpbi0wLWNhbGwtdG8tYS1tZW1iZXItZnVuY3Rpb24tY3JlYXRlLW9uLW51bGw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

6 years 3 weeks ago -  6 years 3 weeks ago [\#325369](#325369) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[error Stripe Plugin - 0 Call to a member function create() on null](/forum/29-payment-methods/901097-error-stripe-plugin-0-call-to-a-member-function-create-on-null#325369 "-- 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 &quot;0 Call to a member function create() on null&quot;.  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")*

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,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 6 years 3 weeks ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDEwOTctZXJyb3Itc3RyaXBlLXBsdWdpbi0wLWNhbGwtdG8tYS1tZW1iZXItZnVuY3Rpb24tY3JlYXRlLW9uLW51bGw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Baracus](/forum/user/59583-baracus "View Baracus's Profile")**
- [![Baracus's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59583-baracus "View Baracus's Profile") Topic Author
- [ Offline](/forum/user/59583-baracus)

Less More

- Posts: 18
- Thank you received: 1
-
-

6 years 3 weeks ago [\#325376](#325376) by [Baracus](/forum/user/59583-baracus "View Baracus's Profile")  Replied by *[Baracus](/forum/user/59583-baracus "View Baracus's Profile")* on topic *[error Stripe Plugin - 0 Call to a member function create() on null](/forum/29-payment-methods/901097-error-stripe-plugin-0-call-to-a-member-function-create-on-null#325376 "-- 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 &quot;0 Call to a member function create() on null&quot;.  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")*

Thank you for fast answer.

In attachment the screenshot of debug mode.

- [ ![Cattura.JPG](/forum/attachment/50890) ](/forum/attachment/50890 "Cattura.JPG") [ ](/forum/attachment/50890?download=1 "Cattura.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDEwOTctZXJyb3Itc3RyaXBlLXBsdWdpbi0wLWNhbGwtdG8tYS1tZW1iZXItZnVuY3Rpb24tY3JlYXRlLW9uLW51bGw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

6 years 3 weeks ago [\#325408](#325408) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[error Stripe Plugin - 0 Call to a member function create() on null](/forum/29-payment-methods/901097-error-stripe-plugin-0-call-to-a-member-function-create-on-null#325408 "-- 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 &quot;0 Call to a member function create() on null&quot;.  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")*

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](https://www.hikashop.com/marketplace/product/133-payment-stripe-connect-by-obsidev.html)

The following user(s) said Thank You: [Baracus](/forum/user/59583-baracus "View Baracus's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDEwOTctZXJyb3Itc3RyaXBlLXBsdWdpbi0wLWNhbGwtdG8tYS1tZW1iZXItZnVuY3Rpb24tY3JlYXRlLW9uLW51bGw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Baracus](/forum/user/59583-baracus "View Baracus's Profile")**
- [![Baracus's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59583-baracus "View Baracus's Profile") Topic Author
- [ Offline](/forum/user/59583-baracus)

Less More

- Posts: 18
- Thank you received: 1
-
-

6 years 3 weeks ago -  6 years 3 weeks ago [\#325466](#325466) by [Baracus](/forum/user/59583-baracus "View Baracus's Profile")  Replied by *[Baracus](/forum/user/59583-baracus "View Baracus's Profile")* on topic *[error Stripe Plugin - 0 Call to a member function create() on null](/forum/29-payment-methods/901097-error-stripe-plugin-0-call-to-a-member-function-create-on-null#325466 "-- 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 &quot;0 Call to a member function create() on null&quot;.  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")*

hi,

yes, I bought the Plugin V3 and now all is perfect.

Thank you,

Danilo

Last edit: 6 years 3 weeks ago by [Baracus](/forum/user/59583-baracus "View Baracus's Profile").

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDEwOTctZXJyb3Itc3RyaXBlLXBsdWdpbi0wLWNhbGwtdG8tYS1tZW1iZXItZnVuY3Rpb24tY3JlYXRlLW9uLW51bGw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.058 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
