- Posts: 3
- Thank you received: 0
Different prices for payment methods
- Benjamin Jones
- Topic Author
- Offline
- New Member
-
Less
More
12 years 9 months ago #17454
by Benjamin Jones
Different prices for payment methods was created by Benjamin Jones
My customer only has two forms of payment.
1. Paypal
2. Offline via check
To offset Paypal fees he upcharges $10 to the base fee.
I'd like to hardcode this $10 increase to the Paypal selection or assign the total cost.
For example customer sees and selects one of the below payment methods:
Offline = $225
Paypal = $235
Any one else do this yet? I've searched forum but have not found answer.
1. Paypal
2. Offline via check
To offset Paypal fees he upcharges $10 to the base fee.
I'd like to hardcode this $10 increase to the Paypal selection or assign the total cost.
For example customer sees and selects one of the below payment methods:
Offline = $225
Paypal = $235
Any one else do this yet? I've searched forum but have not found answer.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 9 months ago #17461
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Different prices for payment methods
Hi
You can follow the steps below :
1. Open the file components/com_eventbooking/payments/os_paypal.php
2. Find the code below :
3. Change it to :
After that, it will work as expected .
Regards,
Tuan
You can follow the steps below :
1. Open the file components/com_eventbooking/payments/os_paypal.php
2. Find the code below :
Code:
$this->setParam('amount', round($data['amount'], 2));
3. Change it to :
Code:
$this->setParam('amount', round($data['amount'] + 10, 2));
After that, it will work as expected .
Regards,
Tuan
The following user(s) said Thank You: Benjamin Jones
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.