I am using post to send the XML through cfhttp.

The three test files are:

>1) Your test certificate file
Sorry but this contains sensitive data.  All it simply is is a pem file and would not be causing the timeout error.

>2) the test.xml file
<RequestBlock Version="3.10">
<Request Type="AUTH">
<Operation>
<Amount>5000</Amount>
<Currency>GBP</Currency>
<SiteReference>Merchant Sitereference</SiteReference>
<SettlementDay>1</SettlementDay>
</Operation>

<CustomerInfo>
<Postal>
<Name>
<NamePrefix>Mr.</NamePrefix>
<FirstName>Joe</FirstName>
<MiddleName>A.</MiddleName>
<LastName>Bloggs</LastName>
<NameSuffix>CEng.</NameSuffix>
</Name>
<Company>Test Company</Company>
<Street>789 High Street</Street>
<City>Bangor</City>
<StateProv>Gwynedd</StateProv>
<PostalCode>LL45 6DF</PostalCode>
<CountryCode>UK</CountryCode>
</Postal>
<Telecom>
<Phone>0000111111</Phone>
</Telecom>
<Online>
<Email>[EMAIL PROTECTED]</Email>
</Online>
</CustomerInfo>

<PaymentMethod>
<CreditCard>
<Type>VISA</Type>
<Number>4111111111111111</Number>
<Issue></Issue>
<StartDate></StartDate>
<SecurityCode>123</SecurityCode>
<ExpiryDate>02/08</ExpiryDate>
</CreditCard>

</PaymentMethod>

<Order>
<OrderReference>Order0001</OrderReference>
<OrderInformation>This is a test order</OrderInformation>
</Order>

<Optional>
<MyUniqueReference>123456789</MyUniqueReference>
<Shipping>
<CustomerInfo>
<Address1>Somewhere Else</Address1>
</CustomerInfo>
</Shipping>
</Optional>
</Request>

<Certificate></Certificate>

</RequestBlock>

>3) the sendPayment.xml example
Thius is identiacal to the above.

I would prefer to use CF to send the dat rather than Java as my Java programming ability is approximately zero! ;-)
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to