- Posts: 75
- Thank you received: 2
Aleatory 0 error with Stripe checkout
- Robert Gastaud
- Topic Author
- Offline
- Senior Member
Less
More
4 years 1 month ago #132429
by Robert Gastaud
Aleatory 0 error with Stripe checkout was created by Robert Gastaud
Hi,
Sometimes PayPal and Stripe Checkout (both activated, only these two plugins) were displayed on the registration form, sometimes only PayPal.
When I disable PayPal plugin and let only Stripe, sometimes I have an error "0 - Call to a member function getName() on null"
and
Call to a member function getName() on null
/home/www/sitesclients/***********/components/com_eventbooking/themes/default/register/register_payment_methods.php:85
PHP is 7.3.15
Sometimes PayPal and Stripe Checkout (both activated, only these two plugins) were displayed on the registration form, sometimes only PayPal.
When I disable PayPal plugin and let only Stripe, sometimes I have an error "0 - Call to a member function getName() on null"
and
Call to a member function getName() on null
/home/www/sitesclients/***********/components/com_eventbooking/themes/default/register/register_payment_methods.php:85
PHP is 7.3.15
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
4 years 1 month ago #132436
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Aleatory 0 error with Stripe checkout
Hello Robert
Look like you choose payment methods under each event and it causes the error
To solve the issue, please edit the event:
- Make sure you choose ALL Payment Methods
- Or if you want to select payment methods for each event, then edit the event, look at Advanced Settings tab, find Payment Methods parameter, choose the payment methods you want to use for that event, save it
After that, it will work as expected
Tuan
Look like you choose payment methods under each event and it causes the error
To solve the issue, please edit the event:
- Make sure you choose ALL Payment Methods
- Or if you want to select payment methods for each event, then edit the event, look at Advanced Settings tab, find Payment Methods parameter, choose the payment methods you want to use for that event, save it
After that, it will work as expected
Tuan
Please Log in or Create an account to join the conversation.
- Robert Gastaud
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 75
- Thank you received: 2
4 years 1 month ago #132450
by Robert Gastaud
Replied by Robert Gastaud on topic Aleatory 0 error with Stripe checkout
Hello Tuan,
You're right! Some test events were set with only PayPal method.
I changed it and it works now.
Thanks!
Robert
You're right! Some test events were set with only PayPal method.
I changed it and it works now.
Thanks!
Robert
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
4 years 1 month ago #132452
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Aleatory 0 error with Stripe checkout
Great. Thanks for confirming Robert
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.