Skip to content

Instantly share code, notes, and snippets.

@matthewarkin
Forked from anonymous/disputefullcode
Created April 5, 2016 03:54
Show Gist options
  • Save matthewarkin/4cd4ef87122acb3561f29cbda079b219 to your computer and use it in GitHub Desktop.
Save matthewarkin/4cd4ef87122acb3561f29cbda079b219 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["customer_name"]="email@example.com";
$dp->evidence["shipping_date"] = "2016-03-06";
$dp->save();
echo "done";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment