- Posts: 2
- Thank you received: 0
Copy offline payment plugin not working
- Winfred Valois
- Topic Author
- Offline
- New Member
-
Less
More
9 years 5 months ago #72760
by Winfred Valois
Copy offline payment plugin not working was created by Winfred Valois
Hello,
I made a copy (copied files and renamed os_offline) of the offline payment plugin because I need two offline payment plugins but with different purposes.
- One is for a bank transfer in advance, registrant will get e-mail with bank account number (= os_offline)
- Other one is for pay with cash at the beginning of the event (= os_cash)
The problem is when a registrant chooses cash payment, the number of available places is not reduced by one.
EB does not recognize os_cash as an offline payment, but as an online payment.
Where can I change that? Of add code so EB knows os_cash is also an offline payment.
Please let me know.
I made a copy (copied files and renamed os_offline) of the offline payment plugin because I need two offline payment plugins but with different purposes.
- One is for a bank transfer in advance, registrant will get e-mail with bank account number (= os_offline)
- Other one is for pay with cash at the beginning of the event (= os_cash)
The problem is when a registrant chooses cash payment, the number of available places is not reduced by one.
EB does not recognize os_cash as an offline payment, but as an online payment.
Where can I change that? Of add code so EB knows os_cash is also an offline payment.
Please let me know.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 5 months ago #72832
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Copy offline payment plugin not working
Hi
The name of the payment plugin needs to be started with os_offline_. For example, in you case, change it to os_offline_cash should work
Tuan
The name of the payment plugin needs to be started with os_offline_. For example, in you case, change it to os_offline_cash should work
Tuan
The following user(s) said Thank You: Winfred Valois
Please Log in or Create an account to join the conversation.
- Winfred Valois
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
9 years 5 months ago #72860
by Winfred Valois
Replied by Winfred Valois on topic Copy offline payment plugin not working
That's why the code has 'os_offline%' in it 
I changed it and now it works, thanks a lot.

I changed it and now it works, thanks a lot.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 5 months ago #72910
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Copy offline payment plugin not working
Yes correct. Glad to hear that it works well now 
Tuan

Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.