Jump to content
si458

is it possible non-merchant gateway with monthly charges

Recommended Posts

Hi All

I'm trying to find out if its possible to make a payment gateway to do the following, I have tried a few ways using the API but having no luck but I might be looking at this the wrong way

1. create customer using blesta
2. add ACH details using custom gateway (UK)
3. after submitting the ACH, the blesta HAS to redirect the admin/customer to the gateway hosted pages to re-fill in the ACH details
(bloody stupid really as i HAVE to do this unless i wanna pay over £300 a month to have full API access to NOT have to redirect the admin/customer)
4. after filling in and gateway says all is OK, it then redirects back to blesta to say successful
5. once a month when invoices are generated, it takes the payment using the custom gateway

i have been able to do step 1, step 2, step 3 fine without any issue
however im stuck with step 4 and 5

from what ive read in the docs, api, and php files, you can only redirect back to blesta using a Non-Merchant Gateway

is the anyway around this or as i said am i just being silly and missing something completely

Simon

Share this post


Link to post
Share on other sites

For step 4, you are correct in saying that Blesta does not support redirects for merchant gateways.  Is there a reason you are not implementing this as a non-merchant gateway?  Does the API not support that?  Unfortunately non-merchant would allow the client to choose their payment method each time they are invoiced, so you could not do step 5.

For step 5, well each currency is only allowed one merchant gateway so that should be happening automatically.  Are you asking how to enable auto-debiting?

Share this post


Link to post
Share on other sites
On 05/01/2018 at 5:05 PM, Jono said:

For step 4, you are correct in saying that Blesta does not support redirects for merchant gateways.  Is there a reason you are not implementing this as a non-merchant gateway?  Does the API not support that?  Unfortunately non-merchant would allow the client to choose their payment method each time they are invoiced, so you could not do step 5.

For step 5, well each currency is only allowed one merchant gateway so that should be happening automatically.  Are you asking how to enable auto-debiting?

sorry for the long delay in replying

i could make the gateway a non-merchant BUT it means the customer has to pay for the invoice themselves and i cant let blesta take the payments etc itself without me doing anything

the gateway is sadly 'GoCardless' which handles UK Direct Debits

if i was to set it up as non-merchant, and a user bought a plan, gocardless wud need 3 WORKING days to setup the account and DD then 3 WORKING days to take the payment, then i would have to manually go into blesta and select the user had made a payment because i cant get gocardless to notifify blesta of a payment without using there PRO PLAN which costs £200 a month ONTOP of ur fees

i have however tho through of a way, so im going to get building and see where i end up

dont gocardless as a payment gateway, just doing it as a plugin or module

go into the customer, click a custom button which then created the gocardless account and mandate, and returns back to the blesta panel without any issue, then on the cronjob, once a day check for outstanding invoices that havnt already been tried to taken, and then go from there

but its going to be a trial and error, so onwards and upwards :)

Edited by si458
cant spell for toffee

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×