Only Deposit shown under Payment information

  • Poul Melgaard
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 3 months ago #56122 by Poul Melgaard
Only Deposit shown under Payment information was created by Poul Melgaard
Hello All
On the registration page I would like that the only option shown under "Payment information" would be “Deposit”, and not both “Full amount” and “Deposit” in the drop down.
Best regards Poul

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

More
10 years 3 months ago #56147 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Only Deposit shown under Payment information
Hi Poul

That mean the payment is always deposit and you don't want registrants to have an option to make full payment ? That seems strange and we will need to modify code

Please submit a support ticket sending us super admin account of your site and the link to the event page. We will edit code to remove the "Full Amount" option for you

Tuan

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

  • Poul Melgaard
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 3 months ago #56287 by Poul Melgaard
Replied by Poul Melgaard on topic Only Deposit shown under Payment information
I work on commission, therefor the client may not pay the full amount.
He will see the full price but will only have the option to pay Deposit
Earlier we were removing the line :
Code:
$options[] = JHTML::_('select.option', 0, JText::_('EB_FULL_PAYMENT')) ;
in:
components/com_eventbooking/views/register/view.html.php

I would like the client only to see the option "Deposit", and preferably with the Deposit amount below.
Any chance of getting a [DEPOSIT] tag?

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

More
10 years 3 months ago #56307 by James Riley
Replied by James Riley on topic Only Deposit shown under Payment information
Poul Melgaard said:

Any chance of getting a [DEPOSIT] tag?


I would like to "+1" the request for a [DEPOSIT] tag!
I've only been using Event Booking for about a month now, but it seems like the deposit reporting on the whole would benefit from a little bit more code. For example, I noticed on Friday on "Invoices" where the registrant has only paid the deposit give no indication of the partial payment (just the total balance due), and are actually marked as PAID even though they are not paid in full. A [DEPOSIT] tag would provide the ability to indicate the deposit paid in emails and invoices.

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.

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

More
10 years 1 month ago #59704 by slickorange
Replied by slickorange on topic Only Deposit shown under Payment information
I am also looking for this option.

It might seem strange but actually there are many cases where this is useful.

An example is where the deposit amount goes to the site providing the booking functionality - but the rest needs to go to the event host, upon the attendance of the event.

In the meantime could you please explain which file to edit?

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

More
10 years 1 month ago #59705 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Only Deposit shown under Payment information
Hi

The file is components/com_eventbooking/views/register/view.html.php as I explained above

Tuan

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

More
10 years 1 month ago #59713 by slickorange
Replied by slickorange on topic Only Deposit shown under Payment information
Yes I see now.
I have removed the option from the list - but unsure how to execute the Javascript code so that the deposit amount is show on page load...

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

More
10 years 1 month ago #59747 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Only Deposit shown under Payment information
In that file, you will see several lines of code like this:
Code:
$paymentType = $input->post->getInt('payment_type', 0);

Change it to
Code:
$paymentType = 1;

And it should be OK

Tuan

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

  • Poul Melgaard
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 1 month ago #150024 by Poul Melgaard
Replied by Poul Melgaard on topic Only Deposit shown under Payment information
The datastructure have changed , how do I get the same result
The form only showing deposit?

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

More
3 years 1 month ago #150025 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Only Deposit shown under Payment information
Hello Poul

Could you please send us link to the form? And explain exactly how you want to change it?

Tuan

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

Moderators: Tuan Pham Ngoc