This repository has been archived by the owner on Dec 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 0.0.16. Updated to Stripe 8.125.0 and added support for Charg…
…e.amount_captured.
- Loading branch information
jeff
committed
Nov 20, 2020
1 parent
06cdbbd
commit bc12230
Showing
10 changed files
with
210 additions
and
321 deletions.
There are no files selected for viewing
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -195,11 +195,18 @@ describe("charges", () => { | |
} | ||
)); | ||
|
||
it("supports on_behalf_of", buildChargeParityTest({ | ||
amount: 3500, | ||
currency: "usd", | ||
on_behalf_of: process.env["STRIPE_CONNECTED_ACCOUNT_ID"], | ||
source: "tok_visa", | ||
transfer_group: "xfer" | ||
})); | ||
|
||
it("supports misc additional params", buildChargeParityTest({ | ||
amount: 3500, | ||
description: "this is a description", | ||
currency: "usd", | ||
on_behalf_of: process.env["STRIPE_CONNECTED_ACCOUNT_ID"], | ||
receipt_email: "[email protected]", | ||
shipping: { | ||
address: { | ||
|
@@ -217,8 +224,7 @@ describe("charges", () => { | |
tracking_number: "abc123" | ||
}, | ||
source: "tok_visa", | ||
statement_descriptor: "ccc", | ||
transfer_group: "ddd" | ||
statement_descriptor: "hello world", | ||
})); | ||
|
||
it("supports upper case currency", buildStripeParityTest( | ||
|
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