digitickets / omnipay-barclays-epdq

Barclays ePDQ Essential payment gateway integration into the Omnipay library.
MIT License
10 stars 17 forks source link

Added optional feedback parameters. #13

Closed GhaziTriki closed 9 years ago

GhaziTriki commented 9 years ago

ref #8 : it is now possible to add COMPLUS and PARAMPLUS feedback parameters

coatesap commented 9 years ago

@GhaziTriki Hi, that looks interesting. Before I merge it, could you just explain a little bit about what this feature does, and an example of how it is used (we could then also add the example to the readme)?

GhaziTriki commented 9 years ago

Yes of course if you take a look here : http://www.barclaycard.co.uk/business/files/ePDQ_Advanced_Integration_Guide.pdf

In page 29 it says:

The merchant can send us two extra parameters in the hidden fields of the order form, in order to retrieve them as feedback parameter after the payment. The following hidden fields are available:

<input type="hidden" name="COMPLUS" value="">
<input type="hidden" name="PARAMPLUS" value="">

More explanation is given in page 30

I have devoured the documentation and more pull requests are coming.

GhaziTriki commented 9 years ago

I will create another pull request with README update to explain how the library can be used it as it has some minor difference from the common Omnipay.

GhaziTriki commented 9 years ago

I have created a README udpate branch https://github.com/inhanx/omnipay-barclays-epdq/tree/readme-update

Once you merge this pull request I will update the README to explain additional parameters usage.

GhaziTriki commented 9 years ago

The explanation was added to readme update pull request. All pull requests are now ready to be merged. Can you please tag a new version after merging them all?