XMLRPC

[SECPay services]
-> [XMLRPC index]
   -> Deleting a Scheduled Transaction

Deleting a Scheduled Transaction

Method Name: SECVPN.repeatCardFullAddr

PARAMETER EXAMPLE DEFINITION
mid secpay This is your secpay username (usually six letters and two numbers).
vpn_pswd secpay Your VPN password can be set from within the Merchant Extranet: https://www.secpay.com/secnet/logon.html. (Click on "Account" then "Remote Passwords" and select VPN from the drop down list).
trans_id TRAN0001 A unique transaction identifier created by yourself. This should be the trans_id of the original transaction that was used to create the schedule you would like to delete.
amount -1 This is not necessary when deleting a scheduled transaction - please use -1.
remote_pswd secpay Your Remote password can be set from within the Merchant Extranet: https://www.secpay.com/secnet/logon.html. (Click on "Account" then "Remote Passwords" and select Remote from the drop down list).
new_trans_id "" This is not necessary when deleting a scheduled transaction - please use an empty string.
exp_date "" This is not necessary when deleting a scheduled transaction - please use an empty string.
order "" This is not necessary when deleting a scheduled transaction - please use an empty string.
shipping "" This is not necessary when deleting a scheduled transaction - please use an empty string.
billing "" This is not necessary when deleting a scheduled transaction - please use an empty string.
options
Important: the options field is what is used to specify that a given scheduled transaction should be deleted. The scheduled transaction that would be deleted is referred to by the trans_id parameter given as the third argument to this method. As you can see from the example the two options that are required to delete the schedule are:
  • repeat_change=true
  • repeat=false

Example XMLRPC Request...

<?xml version="1.0"?>
    <methodCall>
    <methodName>SECVPN.repeatCardFullAddr</methodName>
    <params>
        <param>
            <value><string>secpay</string></value>
        </param>
        <param>
            <value><string>secpay</string></value>
        </param>
        <param>
            <value><string>TRAN0001</string></value>
        </param>
        <param>
            <value><string>-1</string></value>
        </param>
        <param>
            <value><string>secpay</string></value>
        </param>
        <param>
            <value><string></string></value>
        </param>
        <param>
            <value><string></string></value>
        </param>
        <param>       
            <value><string></string></value>
        </param>
        <param>
            <value><string></string></value>
        </param>
        <param>
            <value><string></string></value>
        </param>
        <param>
            <value><string>repeat_change=true,repeat=false</string></value>
        </param>
    </params>
    </params>
</methodCall>
                           

Example XMLRPC Response...

<?xml version="1.0" encoding="ISO-8859-1"?>
    <methodResponse>
    <params>
        <param>
            <value>
                ?valid=true&trans_id=13298&code=A&
                auth_code=Repeat parameters updated
            </value>
        </param>
    </params>
</methodResponse>
                           

(c)Copyright 2005 SECPay Ltd., All Rights Reserved.