Payfast Plugin

  • Wynand Louw
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
2 years 6 months ago #152211 by Wynand Louw
Payfast Plugin was created by Wynand Louw
Hello Dam

When clients make a payment via Payfast, there seems to be a delay where the home page is displayed.

Is there a way that I can use a page with a message to wait until the Oayfast selection page displays?

Some clients leave the page because they think they have been thrown out. Then they abandon the booking and it shows as an order using Payfast as a payment option, but there is no payment. It seems to happen when they use their mobile phone as well.

What is the options?

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

More
2 years 6 months ago #152224 by Mr. Dam
Replied by Mr. Dam on topic Payfast Plugin
Currently, with redirect payment gateways like Payfast, Paypal..etc, we have 5 seconds delayed before user to be redirected to payment sites (and make online payment). If you want to reduce this time space. You can modify file
[root] -> components -> com_osservicesbooking -> helpers -> payment -> payment.php
Find:

setTimeout('redirect()', 5000);


5000 is 5 seconds, you can reduce it to 1 second - 1000
Thanks
Dam

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

  • Wynand Louw
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
2 years 5 months ago - 2 years 5 months ago #152378 by Wynand Louw
Replied by Wynand Louw on topic Payfast Plugin
It is not the 5 seconds that is the problem. The problem is that a blank page is displayed for 5 seconds. Cant we add a message that "Please be patient, we are transferring or connecting you to the Payfast website" or something?
Last edit: 2 years 5 months ago by Wynand Louw.

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

More
2 years 5 months ago #152420 by Mr. Dam
Replied by Mr. Dam on topic Payfast Plugin
Hi Wynand,
You can open language file of OS Services Booking
[root] -> language -> en-GB -> en-GB.com_osservicesbooking.ini and add
OS_WAIT_OS_PAYFAST="Please be patient, we are transferring or connecting you to the Payfast website"
OS_REDIRECT_HEADING="Please be patient, we are transferring or connecting you to the Payfast website"

And then, you can test the Payfast again to see whether if that text showing before redirecting to Payfast site?
Thanks
Dam

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

  • Wynand Louw
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
2 years 5 months ago #152702 by Wynand Louw
Replied by Wynand Louw on topic Payfast Plugin
Will new updates not override this change?

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

More
2 years 5 months ago #152703 by Mr. Dam
Replied by Mr. Dam on topic Payfast Plugin
No, the language constants won't be overridden
Thanks
Dam

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

Moderators: Mr. Dam