Skip to content

Instantly share code, notes, and snippets.

Created April 5, 2016 03:52
Show Gist options
  • Save anonymous/0feba15c1bb55b4a85f7efcba76d6e16 to your computer and use it in GitHub Desktop.
Save anonymous/0feba15c1bb55b4a85f7efcba76d6e16 to your computer and use it in GitHub Desktop.
<?
include('library/init.php');
\Stripe\Stripe::setApiKey("sk_test_xxxxxxx");
$dp = \Stripe\Dispute::retrieve("dp_xxxxxxxxx");
$dp->evidence = array(
"customer_email_address" => "email@example.com",
"shipping_date" => "2016-03-06",
"shipping_documentation" => "file_17sapWLpSdVJN1iV0X1yRT8Z"
);
$dp->evidence["customer_name"]="email@example.com";
$dp->save();
echo "done";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment