Added by Menno Holtkamp, last edited by Menno Holtkamp on Mar 16, 2008  (view change) show comment

Labels

 

Zend_Service_Ideal

Introduction

Zend_Service_Ideal is a simple API for using the Ideal payment service as provide by the ING bank in the Netherlands. It is expected that this payment service will be extended to other countries in the near future.

Zend_Service_Ideal enables developers to communicate with the payment service to:

  • Perform a Directory Request (directory in this context is a list of connected banks)
  • Perform an Acquirer Transaction Request, which initiates a transaction with the payment service
  • Perform an Acquirer Status Request, which provides status information concerning the prior transaction request

In order to use Zend_Service_Ideal, you should already have registered to the Ideal service and signed a contract with a bank of your choice.

Directory Request

Acquire a list of issuers. Check whether it is required to update the cached file of issuers. Whenever this is the case: perform an iDEAL directory request: retrieve a list of issuing banks. This function is used to populate the list with banks and write it to a locally stored file.

Acquirer Transaction Request

Processes an Ideal Acquirer Transaction Request, assemble the request and send it to iDEAL. Store transaction details in your database as well. The user will be redirected to his banking page and performs the payment. Afterwards he is redirected by the bank to a 'returningUrl' where your application should perform a status request to check whether the transaction was successful.

Acquire Status Request

After the user has paid, the transaction should be confirmed with the bank. When the bank confirms the payment, update your database record and inform the user.

all configuration information should be kept as private as possible, as well as your digitally signed certificate.