CyberSource Simple Order API intergration

Posts: 31
Joined: 10/23/2007

Hello,

I would like to offer a bounty in for the implementation of CyberSource Simple Order API.

Some code is currently available and Ryan tells me he stopped developing this because ‘I was having trouble compiling PHP’ with the CyberSource module.

I understand I will need to install some libraries on my server, which I believe I have done. Is there anything else that I should be aware of before deciding on the Simple Order API over HOP?

Paul

Posts: 5620
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Yeah, development was simply put on hold, but the framework is there for Simple Order API work to be done and I plan on resuming it as soon as I can. Would you mind refreshing in this topic for anyone able to do this what (if any) problems you were having with the Silent Order POST that were unresolved?

Posts: 31
Joined: 10/23/2007

Hello,

I currently receive this error when using Silent Order POST (HOP.php):

Credit card sale: £20.09
Decision: REJECT
Reason: One or more fields in the request are missing or invalid.
Possible action: Resend the request with the correct information.

This happens when using http and https on test and production environments (although my CyberSource account isn't Live yet, so whether production would work at all I'm not sure).

The guys at CyberSource think that the HOP is not being populated as they can't see any record of the transaction and think it is being 'stopped by CyberSources front end'...

Here are the fields that are being sent:

billTo_firstName=Paul
&billTo_lastName=Hudson
&billTo_street1=40+Common+Approach
&billTo_city=Benfleet
&billTo_country=GB
&billTo_state=ESX
&billTo_postalCode=SS73LA
&billTo_email=webmaster%40realworksmedia.com
&card_accountNumber=4111111111111111
&card_cardType=Visa&card_expirationMonth=1
&card_expirationYear=2012
&card_cvNumber=445
&amount=20.09
&currency=gbp
&merchantID=woodudesign
&orderNumber=51
&orderPage_timestamp=1195256034292
&orderPage_ignoreAVS=true
&orderPage_signaturePublic=89GK1TSEUN8R%2BWRalD3VdhfvRpU%3D
&orderPage_version=4
&orderPage_serialNumber=1934213452570176043016
&orderPage_transactionType=sale

For the time being I would love to have the HOP working else I would really need to rush the development of Silent Order API.

Look forward to hearing from you,

Paul

Posts: 25
Joined: 11/20/2007
Bug Finder

Hi Paul and Ryan -

I have the beginnings of a cybersource SOAP implementation working, which might be a better solution than the simple order API, as it doesn't require cybersource's separate platform-specific php module.

I posted more here:
http://www.ubercart.org/forum/development/2530/cybersource_soap_implemen...