Skip to content

Commit e8e81f8

Browse files
committed
Restrict Paybis from the US
This was missing from the paybisProvider implementation.
1 parent d981804 commit e8e81f8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/plugins/ramps/rampConstraints.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,10 @@ function* constraintGenerator(
5757
yield forCountries.includes(params.regionCode.countryCode)
5858
}
5959

60+
// Paybis is not supported in the UK (Great Britain)
61+
if (params.rampPluginId === 'paybis') {
62+
yield params.regionCode.countryCode !== 'GB'
63+
}
64+
6065
return true
6166
}

0 commit comments

Comments
 (0)