By Manfred on Monday, 05 March 2018
Posted in General Issues
Replies 3
Likes 0
Views 519
Votes 0
Hi there

We use the offline payment method with one click checkout. The current process is

1) User choses a plan
2) User registers and selects 'Offline Payment'
3) User then gets the ofline payment form i.e

(root)/plugins/payplans/offlinepay/app/offlinepay/tmpl/form.php

4) They choose cash / cheuqe etc
5) They choose and then they are taken to the thanks screen that has a copy of their invoice

We need step removing, so the offlinepay plugin need to redirect to a custom location of our choice (an instruction page)

Can you advise where this redirection exists in the code so I can intercept it and our own redirect (JUST for offline payment)

Thanks
You can customise this on this method onPayplansPaymentAfter under this file.

JoomlaFolder/plugins/payplans/offlinepay/offlinepay/app/offlinepay/offlinepay.php
·
Tuesday, 06 March 2018 11:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Manfred,

Sorry but not too sure where do you want to intercept this. Do you mean you want to intercept it on the payment mode, http://take.ms/VB0Bf or after the user selected "Offline payment" and you want to have it redirected to a custom page?
·
Monday, 05 March 2018 22:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark, sorry I had a typo in the most important part of my request! I want to change step 5

The screen shot you have sent, which is stage 4 of my example, once you click PAYMENT the system sends emails to user and admin and then goes to a page showing the invoice with 'thanks for your subscription'

I want, when someone clicks PAYMENT, the system still does everything required BUT redirects to a page of my choice. Basically I dont want to show the invoice to someone who has selected offline payment, but rather a custom page that says 'Our admin team will be in touch'
·
Tuesday, 06 March 2018 04:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post