Skip to content

Sale_Reauth

Jacob McConnell edited this page Jun 10, 2014 · 2 revisions

The Twocheckout_Sale class provides methods to retrieve and update sales and will return an Array or JSON response depending on your format specification.

##Method

###reauth

Use to mark a reauth a sale.

####Arguments

  • array Array
  • Array containing sale_id parameter in key => value pair.

####Returns

Returns an Array or JSON depending on your format specification.

####Example Usage:

Twocheckout::username('APIuser1817037');
Twocheckout::password('APIpass1817037');

$args = array(
    'sale_id' => 4753371371
);

$result = Twocheckout_Sale::reauth($args);

####Example Response:

Array
(
    [response_code] => OK
    [response_message] => Payment reauthorized.
)
Clone this wiki locally