Re: HSBC CPI Intergration
Hi, I maybe not supposed to do that, but I havent found a solution as yet.
Anyone?
Re: HSBC CPI Intergration
Page 2, second line says you must have SSL.
Time to buy one (recommended) or probably your server already has one which you can share (the cheapskate way of doing it).
After you have set this up, I think theres a download for HSBC payments but you might want to look at Protx (google it) as I think you will find they are cheaper than HSBC by far.
HTH and good luck!
Re: HSBC CPI Intergration
Hi, I've been struggling with the HSBC mod for some time now ( and HSBC as well ).
I've gotten test transactions to work, even gotten past the fraud stuff, but when I try production transactions, I get:
"The transaction failed because of invalid input data."
I've pasted in my Form Data bellow, if anyone can suggest anything I'd be very grateful,
thankyou
<form name="checkout_confirmation" action="https://www.cpi.hsbc.com/servlet" method="post"><input type="hidden" name="CpiDirectResultUrl" value="https://www.tranceformingnlponline.com/hsbc_return.php" />
<input type="hidden" name="CpiReturnUrl" value="https://www.tranceformingnlponline.com/hsbc_return.php" />
<input type="hidden" name="MerchantData" value="655336668b237ec7dcf2f969366d8d2b" />
<input type="hidden" name="Mode" value="P" />
<input type="hidden" name="OrderDesc" value="Tranceforming NLP Online order" />
<input type="hidden" name="OrderId" value="37" />
<input type="hidden" name="PurchaseAmount" value="050" />
<input type="hidden" name="PurchaseCurrency" value="826" />
<input type="hidden" name="StorefrontId" value="UK04389941GBP" />
<input type="hidden" name="TimeStamp" value="1159744936000" />
<input type="hidden" name="TransactionType" value="Auth" />
<input type="hidden" name="BillingAddress1" value="21 1234" />
<input type="hidden" name="BillingCity" value="Leeds" />
<input type="hidden" name="BillingCountry" value="826" />
<input type="hidden" name="BillingCounty" value="Yorkshire" />
<input type="hidden" name="BillingFirstName" value="Glenn" />
<input type="hidden" name="BillingLastName" value="Kelly" />
<input type="hidden" name="BillingPostal" value="LS131RJ" />
<input type="hidden" name="ShopperEmail" value="[email protected]" />
<input type="hidden" name="ShippingAddress1" value="32234" />
<input type="hidden" name="ShippingCity" value="jhkjh" />
<input type="hidden" name="ShippingCountry" value="826" />
<input type="hidden" name="ShippingCounty" value="jhkjhhjbhj" />
<input type="hidden" name="ShippingFirstName" value="Glenn" />
<input type="hidden" name="ShippingLastName" value="Kelly" />
<input type="hidden" name="ShippingPostal" value="ls21323" />
<input type="hidden" name="OrderHash" value="6Vv3MNXD748D1MYVCndGaU/G/Lg=" />
<input type="image" src="includes/templates/purpleshades/buttons/english/button_confirm_order.gif" alt="Confirm Order" title=" Confirm Order " /></form>
Re: HSBC CPI Intergration
Not sure but
<input type="hidden" name="PurchaseAmount" value="050" />
Is that the right way?
Re: HSBC CPI Intergration
And one more thing, did you call HSBC to enable production mode for you?
After you call them, they might check your site first before activating the production mode!
Cheers!
San
Re: HSBC CPI Intergration
I think the purchase amount is ok, it's just 50p,
But I'll call HSBC to enable production.
Let me just say that for anyone thinking of going the HSBC route that it has been very hard to
a. get the account set up
b. get the setup and login details from hsbc
c. get the payment module working correctly. If I didn't have root access to the server, installing the library may have been tricky.
Thanks for you help superprg
:)
glenn
Re: HSBC CPI Intergration
Hi,
All I can offer in the way of help is to mention that HSBC merchant accounts are supported by Protx's services and that Protx is fully supported by contributions for Zen Cart. This is most likely why there are no reliable HSBC contributions for ZC.
Sorry I can't be more help than that!
All the best...
Conor
Re: HSBC CPI Intergration
Thanks for your help, I appreciate it!
Finally got it working, it wasn't 'live' after all.
I must say that HSBC are not that helpful and I wouldn't recommend them to anyone, their prices are ok from memory ( I started the sign up process with them 9 months ago! ).
But setting up the module is imho HARD.
And their payment page has a splash screen - click to continue. I could lose customers from that extra click
Anyway, http://www.tranceformingnlponline.com is up, I have my SSL and hsbc account, and the owner can start to sell stuff,
Again, thanks for everyone's help. Just a little bit of poilishing to do ...
Thanks @conor next time I'm going with protex or maybe even worldpay :)
Cheers
glenn
Re: HSBC CPI Intergration
Hi again,
Just when I thought everything was fine ...
It appears that even though hsbc accepts the order, and the money goes through. Zen Cart has no record of the order, so the client doesn't get any confirmation that their payment went through. I read the other big thread on the HSBC mod and got the jist ( sp? ) that that's just how it is.
If HSBC mod can't save order info to admin, I'd better quickly move to Protx!
Thanks in advance for anyone's advice,
Glenn