Jump to content

Help with customizing payment gateway


Patty

Recommended Posts

Hi guys.

 

I need some help in customizing my payment gateway, for I'm no programmer.

 

I use the boleto gateway, which is form of payment commonly used in Brazil where a payment document with a barcode is issued and can be paid online or at the bank. I have it alreay installed, configured and working fine on my WHMCS, but I need to include a couple of things:

 

1) There are two kinds of payments: first payment (when the account is opened) and recurring payment. The recurring payment incurs in late fees after due date, the first payment doesn't. Since I use the flat fee after so many days, I need to find a way for boleto gateway to include a 2% monthly fee + 0.34% daily fee (this is how it works in Brazil) on the payment total after due date BUT (here's the trick) ONLY for the recurring payment! I managed to include a calculation of these monthly and daily fees on the boleto instructions for cashier, so he can add the fees to the boleto total amount, but the problem is if client pays online he might not do that. So I'd like to have that included on the payment amount after due date for the recurring payment only.

 

2) The second thing is related to the first one above. On this "instructions for cashier" field on boleto, I'd like it to be one frase for the first payment but another one for the recurring payment. This would be a simple if/else statement, I think, but I just don't know how to do it.

 

I hope my explanation was clear...

 

Can someone help me with this??

Thanks in advance.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated