[SOLVED] !!! ERROR: 0 Class 'os_payments' not found

  • Mr. Dam
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
5 months 5 days ago #167373 by Mr. Dam
Dear all,
When you install latest Joom Donation version while you are having override layout of Donation form in your current using template. You may have error 0 Class 'os_payments' not found
The cause of this issue is in latest Joom Donation version, we improve core payment library of component to avoid conflicting with other extensions of us. It will work normally if you don't have override layouts of Donation form in template, but even you are having override layouts and mentioned error, no worry about it. It's easy to fix this problem by yourself. Please following below steps
1. Open override layouts of Donation form in: root -> templates -> you_using_template -> html -> com_jdonation -> donation -> default.php (or simpleflow_layout.php or both)
2. Find:
os_payments
and replace by
os_jdpayments

3. Save files and the problem is solved.

Good luck
Dam
The following user(s) said Thank You: Diane Guest, Krumschi

Please Log in or Create an account to join the conversation.

More
2 weeks 12 hours ago #169548 by Patrick de Rond
Replied by Patrick de Rond on topic [SOLVED] !!! ERROR: 0 Class 'os_payments' not found
Good morning,
i have to following error:
Cannot access protected property os_paypal::$name
Same issue? or how to resolve?

Best regards,
Patrick

Please Log in or Create an account to join the conversation.

  • Mr. Dam
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
2 weeks 7 hours ago #169554 by Mr. Dam
Hi Patrick,
The issue has cause from override layout of Donation form in your current using template. To solve the issue, please open override layouts in template based on location:
root -> templates -> your_using_template -> html -> com_jdonation -> donation -> default.php or simpleflow_layout.php
Find
os_payment and replace by os_jdpayment

Good luck
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt