How to implement - Direct Debit Updated on 09-12-2014

Workflow of how to implement Direct Debit payments using easypay's services.

1 - Request a Reference

Call api_easypay_01BG.php to request a payment identifier.
Redirect the client for the URL received on parameter ep_link
Client will arrive on a page like this

2 - Client side

Now your client is on easypay's direct debit gateway.
You will need to implement Order detail so that the client is able to see what he is paying for.

3 - Client account details

Now your client will fill their bank account details and click next
Review all the infos and finalize the authorization

4 - Redirect to your page

Now your client will be redirected to your page.
You need to implement this steps.

5 - Client process ends here

The client process ends here and there is no more things for him to do.

6 - Request payment

When you ship the order or provide the service the client authorized payment you have to request the payment using api_easypay_05AG.php

7 - Wait for it...

Now the payment is being processed by the card issuer

8 - Notifications check

You should check once a day fetch all payments for payments received and match with the ones you already have.
You should use as a base date the payment request date.