By Johan Hammarström on Tuesday, 23 January 2018
Posted in Payment Gateways
Replies 5
Likes 0
Views 870
Votes 0
Hi,
I am trying to set up the gateway for Offline payments, but the documentation isn't equivalent to the real situation...

If I set up an offline payment and go to frontend and confirm an offline payment as a customer would, I get this page:



Here the customer can choose to pay with Cash/Check/Draft - but I do not want these options and I can't find anywhere I can alter them.

According to the documentation (https://stackideas.com/docs/payplans/administrators/payment-gateways/offline-payment) the customer shouldn't come to such a page as described above, but get a receipt direct.

And how do I show the Description which I enter in the gateway admin? It is never shown anywhere.

Hope you can help me. I am hoping to get this site live on friday...

With kind regards,
- Johan.
Hello Johan,

Let me know you want to remove DD/Cheque No. field from payment page.
See attached screen shot.

In the documentation payment page image is missing , after selecting payment method as offline , user will be redirect to payment page. Here need to select the details as he want to pay as cash or checque/dd. (it can't be skipped).
After this page user, will be redirected to invoice thanks page.

The description you entered in backend app configuration , will not shown anywhere, it for you the description of app you have created.

Correct me if i misunderstood your site issue.
·
Tuesday, 23 January 2018 19:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,
I want to use the offline payment to offer our customers the possibility to either pay by physical invoice or use s mobile payment gateway we have in Sweden called Swish, which means that they can pay the subscribtion by phone, and we manually set it as paid.

I would like to alter the option for Payment Mode, to set it as Invoice/Swish.

I do not understand the use of Cash/Cheque options - how should we get these cash or cheques? Sent by physical mail to us..? Who pays that way? It feels rather 1990, so to speak.. In Europe (or at least in Sweden) no one uses cheques anymore.

With kind regards,
- Johan.
·
Tuesday, 23 January 2018 21:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Johan,

Yes, it's possible by doing customisation in Offlinepay app.
Go to Root/plugins/payplans/offlinepay/offlinepay/app/offlinepay/transaction.xml , find below mentioned code

<field name="from"
type="parammanipulator"
default="Cash"
class="form-control"
label="COM_PAYPLANS_APP_OFFLINE_TRANSACTION_FROM_LABEL"
description="COM_PAYPLANS_APP_OFFLINE_TRANSACTION_FROM_DESC">
<option value="Cash" params="amount,currency">COM_PAYPLANS_Cash</option>
<option value="Cheque" params="id,amount,currency">COM_PAYPLANS_Cheque</option>
<option value="DD" params="id,amount,currency">COM_PAYPLANS_Demand_Draft</option>
</field>


You just need to remove below mentioned code to remove cheque and dd option.

<option value="Cheque" params="id,amount,currency">COM_PAYPLANS_Cheque</option>
<option value="DD" params="id,amount,currency">COM_PAYPLANS_Demand_Draft</option>


Override below mentioned string as you need.

COM_PAYPLANS_CASH="Invoice/Swish"


Try this solution and update me if you have any confusion.
·
Wednesday, 24 January 2018 02:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks - this seems to work out good!

With kind regards,
- Johan.
·
Wednesday, 24 January 2018 16:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Your Welcome.
·
Wednesday, 24 January 2018 16:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post