Skip to content

ColdFusion implementation of the iDeal payment protocol used by Dutch banks.

License

Notifications You must be signed in to change notification settings

mjhagen/idealcfc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

idealcfc

ColdFusion implementation of the iDeal payment protocol version 3.3.1 used by Dutch banks.

###Generate ideal certificates like this:

Use Java's keytool to generate the certificates:

keytool -genkey -keyalg RSA -sigAlg SHA256withRSA -keysize 2048 -validity 1825 -alias {KeyStoreAlias} -keystore {keystoreFileName.ks}

Upload this file to your server (not to a web accessible directory)

keytool -export -v -rfc -alias {KeyStoreAlias} -keystore {keystoreFileName.ks} -file {certificateFileName.cer}

Upload this file to iDeal dashboard

###Config file

idealURL          URL TO IDEAL
ksFile            ABSOLUTE PATH TO KEYSTORE FILE.ks
ksAlias           KEYSTORE ALIAS
ksPassword        KEYSTORE PASSWORD
merchantID        00000000000
merchantReturnURL http://www.your-website-here.nl/index.cfm

###Implementation in CF

idealObj = new ideal( "path/to/config.cfm" ); // should be done once per application
writeOutput( idealObj.directoryRequest()); // renders a <select>

See Application.cfc and index.cfm for more examples and the required tests you need to perform in order for the bank to approve your ideal application.

About

ColdFusion implementation of the iDeal payment protocol used by Dutch banks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published