-
Notifications
You must be signed in to change notification settings - Fork 16
Sale_Stop
Craig edited this page Oct 26, 2012
·
1 revision
You must specify your API username and password using the Twocheckout.apiusername & Twocheckout.apipassword class variables before calling a method in this class.
##Method
###stop
Use to stop all active recurring lineitems on a sale. This method can also be called on an invoice or lineitem.
####Arguments
- None
####Returns
Returns result as a TwocheckoutResponse object.
####Example Usage:
Sale sale = TwocheckoutSale.retrieve("4832772521");
TwocheckoutResponse result = sale.stop();####Example Response (toJson):
{
"response_code" : "OK",
"response_message" : "4832771234,4832774567,4832767890"
}Please feel free to contact 2Checkout directly for assistance with your integration.