CyberCash PaymentHome 'Secure payment' Contents Please email any bug reports, comments or suggestions to ExperLog's Online Support OverviewExperShop supports CyberCash MCK 3.2 and later, but has not been tested against previous versions.Currently, only the credit-card payment is supported.
Quick StartYou can test the CyberCash integration against our CyberCash test account :
SetupThere are different steps to integrate a merchant server with CyberCash :
Installing the ExperShop CyberCash filesIn the ExperShop/etc/cych directory, you will find :
For PERL users : Installing the PERL scripts Go in the perl-scripts directory, then copy the CCMerchantCustom.pm and CCMerchantTest.pm files in the directory that contains the CyberCash MCK CGI scripts (depends on your MCK installation). For C users : Installing the C scripts Go in the c-scripts directory, then copy the CCMerchantCustom.c, CCMerchantCustom.h, CCMerchantTest.c and CCMerchantTest.h files in the c-scripts directory under your CyberCash MCK installation. Before doing that, you may wish to save the previous version of the files : if so, temporarily copy them somewhere else. Go in the
c-scripts/browser directory under your CyberCash MCK installation,
then compile with the makefile : Copy the generated .cgi files in the directory that contains the CyberCash MCK CGI scripts (depends on your MCK installation). Installing the templates Go in the MCK CGI directory (if you installed the MCK for testing, there's a test-mck/mck-cgi directory somewhere). Create an expershop_templates directory there, and copy the files from expershop_csk/expershop_templates in the new directory. Edit the conf/merchant_conf file, and change the "TEMPLATE_DIR=./templates" line to "TEMPLATE_DIR=./expershop_templates".
Invoking CyberCash from ExperShop templatesCyberCash is invoked from ExperShop by invoking thecom.expershop.pay.cych.ESOrderAct
action.
The action invokes the CyberCash services for payment : if the payment is successful, the shopping cart content is ordered.
Action : com.expershop.pay.cych.ESOrderActPlace Order, with CyberCash secure payment : a new order is created upon payment success, the shopping cart is emptied.If the payment fails, no order is placed, and the shopping cart remains unchanged. We recommend that the page that triggers this action be invoked through SSL (for credit-card info encryption). Input parameters
:
|