#212 – Automatic email confirmation is sent before even finishing the paypal transaction

Posted in ‘Taxi Booking for Joomla’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 05 December 2014 16:15 GMT
ojomg
 Hi,

Im noticing that when I select paypal method and click "make a booking" at the end of the booking process, I'm redirected to paypal, but without even finishing the transaction I'm getting an email confirmation as a user that I already made the booking appointment with paypal method.

This is confusing because if the clients doesn't actually finish the transaction and pay, he still have a receipt saying that he already made the booking and paid for it.

Am I right? How can I fix this?
Friday, 05 December 2014 17:16 GMT
martso
SumUp for Taxi Booking J4
Hi ojomg,

when the order is made and user redirected to PayPal Taxi Booking has to record the order.
What happens is, the order is saved with Status Waiting and if PayPal transaction is successful then PayPal IPN is sent back to the website and order Status is changed to Accepted.

This prevents the confusion for the customer as all new orders come with status Waiting and either IPN or Admin can change the status to Accepted which will trigger a new email with Accepted order status.

It is actually quite useful for the Admin to get the order immediately as there are cases where customer can't complete the PayPal payment and Admin can contact them to capture payment with alternative methods eg. Credit card payment over the phone or Cash to the driver.

Hope this helps.
Best regards.
 
Friday, 05 December 2014 19:51 GMT
ojomg
Oh I see, thanks for explaining.

I just have one more thing to clear. The thing is that in those confirmation emails sent to the users, there's a part that says "Payment Name:" and the method that the user chose (Paypal, cash, etc). I wish to change it so that instead of "Payment Name:", it reads "Payment Method:" which makes more sense for the user.

I tried accessing it via the language overrides in joomla admin but i don't find the constant to change it. Where can I access that?
Sunday, 07 December 2014 09:42 GMT
martso
SumUp for Taxi Booking J4
Hi ojomg,
Each Payment Method has it's own language file where you can change that label.
For some reason Joomla's language override does not pick up Plugin language files which is a shame because every time you update Taxi Booking you will have to change Plugin language values directly in their language files.

Sorry about that although it's not really our fault.
Hope this helps.
Best regards.
 
Monday, 08 December 2014 13:50 GMT
ojomg
Hi,

Now, what is the name of that specific language file I need to edit, and where can I find it in the directory? Please, I can't seem to find it.
Monday, 08 December 2014 15:37 GMT
martso
SumUp for Taxi Booking J4
Hi ojomg,
the files would be in your language/en-GB/ directory and they are named en-GB.plg_tbpayment_cash.ini and en-GB.plg_tbpayment_paypal.ini

Hope this helps.
Best regards.
 
Wednesday, 17 December 2014 19:52 GMT
ojomg
Sorry, I can't seem to find it in the directory you specified. What may be the reason?
Wednesday, 17 December 2014 20:11 GMT
martso
SumUp for Taxi Booking J4
Hi ojomg,
/administrator/language/en-GB is a default Joomla directory and if it doesn't exist then no text will be available on your website but rather just constants of the type TEXT_CONSTANT_GOES_HERE.
Please use FTP to log in to your server and look for your Joomla folder (it's either in public_html or htdocs depending on the server type you use).

Both plugin language files should be there.
Let me know if you still have troubles.

Best regards.
 
Wednesday, 17 December 2014 20:54 GMT
ojomg
Oh now I found it. I first thought it was this directory -> /language/en-GB
But it actually was /administrator/language/en-GB

Thanks a lot.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

KANEV Web Development limited is not affiliated with or endorsed by the Joomla Project or Open Source Matters.

KANEV Web Development limited is registered in England and Wales #8902407