Skip to content

Commit 2f8dc40

Browse files
Merge pull request #104 from stripe/jorgea/fix-germany
Fix germany for the rocketrides.io demo
2 parents 1c8c6b1 + 07def33 commit 2f8dc40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/routes/pilots/pilots.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ router.post('/rides', pilotRequired, async (req, res, next) => {
9090
source = getTestSource('payout_limit');
9191
}
9292
let charge;
93-
// Accounts created in Japan have the `full` service agreement and must create their own card payments
94-
if (pilot.country === 'JP') {
93+
// Accounts created in Japan/Germany have the `full` service agreement and must create their own card payments
94+
if (pilot.country === 'JP' || pilot.country === 'DE') {
9595
// Create a Destination Charge to the pilot's account
9696
charge = await stripe.charges.create({
9797
source: source,

0 commit comments

Comments
 (0)