Send XML data to processor. XML-RPC? |
[eluser]Travis O[/eluser]
I have this credit card processor, MyVirtualMerchant, and I need to send xml data to a processor URL they provide. I've read through their user guide and the XML-RPC material in the CI user guide and unfortunately, I just don't understand. MyVirtualMerchant gives me this address Code: https://www.myvirtualmerchant.com/VirtualMerchant/processxml.do Code: <txn> I tried using the XML-RPC class in CI, but I can't get it to work. I think I am sending the XML data in the wrong format. MyVirtualMerchant provides me with this example Code: …/VirtualMerchant/processxml.do?xmldata=<txn><ssl_merchant_ID>123456</ssl_merchant_ID><ssl_user_id>123456</ssl_user_id><ssl_pin>V6NJ3A</ssl_pin><ssl_transaction_type>ccsale</ssl_transaction_type><ssl_card_number>1111111111111111</ssl_card_number><ssl_exp_date>1210</ssl_exp_date><ssl_amount>2.34</ssl_amount><ssl_salestax>0.00</ssl_salestax><ssl_cvv2cvc2_indicator>1</ssl_cvv2cvc2_indicator><ssl_cvv2cvc2>321</ssl_cvv2cvc2><ssl_invoice_number>1234</ssl_invoice_number><ssl_customer_code>1111</ssl_customer_code><ssl_first_name>customer</ssl_first_name><ssl_last_name>name</ssl_last_name><ssl_avs_address>1234 main st.</ssl_avs_address><ssl_address2>apt b</ssl_address2><ssl_city>any town</ssl_city><ssl_state>ST</ssl_state><ssl_avs_zip>55555</ssl_avs_zip><ssl_phone>555-555-5555</ssl_phone><ssl_email>[email protected]</ssl_email></txn> Any help would be appreciated. |
Messages In This Thread |
Send XML data to processor. XML-RPC? - by El Forum - 09-21-2009, 09:18 PM
Send XML data to processor. XML-RPC? - by El Forum - 09-21-2009, 10:12 PM
Send XML data to processor. XML-RPC? - by El Forum - 09-23-2009, 08:49 PM
Send XML data to processor. XML-RPC? - by El Forum - 09-23-2009, 09:22 PM
|