Created
August 28, 2013 23:54
-
-
Save wbashir/6372823 to your computer and use it in GitHub Desktop.
Stripe charge refund
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var amount = Math.abs(invoice.total); | |
stripe.charges.refund(charge.data[0].id, amount, | |
function (err, refund) { | |
)}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment