EB_INVALID_DEPOSIT_PAYMENT waiting list error

  • Jason Landau
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 3 months ago #109246 by Jason Landau
EB_INVALID_DEPOSIT_PAYMENT waiting list error was created by Jason Landau
Hi,
I understand this is not the intended use of the waiting list but it's what's need for us and I hope you might be able to give a little direction or advice.

We want to be able to change a "waiting list" registration to a "pending or deposit" so that they can login and just pay their balance rather than open a new spot and anyone can register.

It almost works as I would hope. There's only one error.

If I don't add an amount (above $0.01) in "Deposit Amount" when you click "Process payment" from "payment-deposit/149" (the url) it through an error on the page of "EB_INVALID_DEPOSIT_PAYMENT" and I can't find that anywhere.

I'm sure it's checking if the deposit is valid and that's what the problem is but I just can't find it to edit it.

** How payment is set in backend **
Total Amount: $50
Discount Amount: $null
Gross amount: $50
Deposit Amount $null
Payment Status: Partial Payment
Payment Method: Paypal / Credit Card
Status: Waiting List


Any idea's or help is really appreciated. This is a little older version 2.14.3 Sorry..

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

  • Jason Landau
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 3 months ago #109251 by Jason Landau
Replied by Jason Landau on topic EB_INVALID_DEPOSIT_PAYMENT waiting list error
I found out why I couldn't find "EB_INVALID_DEPOSIT_PAYMENT"
I was searching a wrong folder with notepad++ :(

I made 2 changes to "com_eventbooking\site\model\payment.php"
if ($data > 0)
to
if ($data >= 0)

The only issue I forsee is someone could put a $0 deposit through but I don't see that as a security issue.
Is that change ok or does it bring up security issues I don't see within the file?

Thank you!

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

More
7 years 3 months ago #109261 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic EB_INVALID_DEPOSIT_PAYMENT waiting list error
Hi Jason

You can use that workaround for now. I will see if I can add offical support for this kind of option in the core package when I have time

No security issue here, thought

Regards,

Tuan
The following user(s) said Thank You: Jason Landau

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

  • Jason Landau
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 3 months ago #109302 by Jason Landau
Replied by Jason Landau on topic EB_INVALID_DEPOSIT_PAYMENT waiting list error
I really appreciate your fast responses. I totally understand that these questions are out of the scope of "Support" and I'm very grateful for you reading my question and giving an actual response.
Thank you!!!! Have a great week.

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

More
7 years 3 months ago #109311 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic EB_INVALID_DEPOSIT_PAYMENT waiting list error
Thanks Jason. You too

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc