J-BusinessDirectory - Customising Manual Payment methods

Support Forum

 
 

 

HI,


My client wants to have a 'call in payment' option for users making a payment.


This would simply:


- show the phone number to call to organise payment


- perhaps send an email re payment containing the phone number

How would I best go about this?


Can I customise the 'wire transfer' or 'cash' payment methods to achieve this?

3 replies

Hi, 

 

Yes, you can customize the Cash processor to display the information you need. 


You would need to add a new extra field in the processor and set your phone number in there. 

In the processor you need to edit 2 functions: 


public function getPaymentProcessorHtml(){

-this is the information displayed when the payment processor is selected. You can add extra information here.


public function getPaymentDetails($paymentDetails){

- this is the information added to the outgoing emails. You can add extra information here.



Thanks for your help.


Which php file do I have to edit for the cash processor?



Hi, 

 


You're welcome. 

That would be the file located in components/com_jbusinessdirectory/classes/payment/processors/Cash.php

 
 
 

4 Item(s)

Show per page