Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

- added: Support for LLD & LLM transaction history
- added: Close button (X) for `EdgeModals,` specifically if a desktop platform is detected.
- added: Venmo GUI plugin via Moonpay.
- changed: Auto-enable required tokens when navigating to `Stake*` scenes
- fixed: Incorrect `SwapInput` amounts on `SwapCreateScene` after changing wallet.
- fixed: Backing up a light account while on the `FiatPluginEnterAmountScene` retains light account-related quote errors
Expand Down
28 changes: 28 additions & 0 deletions src/__tests__/__snapshots__/GuiPlugins.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,20 @@ Settlement: 5 min - 24 hours",
"pluginId": "paypal",
"title": "Paypal",
},
{
"cryptoCodes": [],
"deepPath": "",
"deepQuery": {},
"description": "Fee: ~5%
Settlement: 5 min - 24 hours",
"paymentType": "venmo",
"paymentTypeLogoKey": "venmo",
"paymentTypes": [
"venmo",
],
"pluginId": "venmo",
"title": "Venmo",
},
{
"cryptoCodes": [],
"customTitleKey": "applepay",
Expand Down Expand Up @@ -317,6 +331,20 @@ Settlement: 5 min - 24 hours",
"pluginId": "paypal",
"title": "Paypal",
},
{
"cryptoCodes": [],
"deepPath": "",
"deepQuery": {},
"description": "Fee: ~5%
Settlement: 5 min - 24 hours",
"paymentType": "venmo",
"paymentTypeLogoKey": "venmo",
"paymentTypes": [
"venmo",
],
"pluginId": "venmo",
"title": "Venmo",
},
{
"cryptoCodes": [],
"deepPath": "",
Expand Down
1 change: 1 addition & 0 deletions src/components/scenes/GuiPluginListScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const paymentTypeLogosById = {
revolut: 'paymentTypeLogoRevolut',
sofort: 'paymentTypeLogoSofort',
upi: 'paymentTypeLogoUpi',
venmo: 'paymentTypeVenmo',
visa: 'paymentTypeVisa'
}
const pluginPartnerLogos: { [key: string]: 'guiPluginLogoMoonpay' } = {
Expand Down
8 changes: 8 additions & 0 deletions src/constants/plugins/GuiPlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,14 @@ export const guiPlugins: { [pluginId: string]: GuiPlugin } = {
lockUriPath: true,
displayName: 'Bitrefill'
},
venmo: {
pluginId: 'amountquote',
storeId: '',
baseUri: '',
lockUriPath: true,
nativePlugin: amountQuoteFiatPlugin,
displayName: ''
},
wire: {
pluginId: 'amountquote',
storeId: '',
Expand Down
135 changes: 75 additions & 60 deletions src/constants/plugins/buyPluginList.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
[
{
"id": "bitsofgold",
"pluginId": "bitsofgold",
"paymentTypes": ["bank"],
"title": "Israeli Bank Transfer",
"description": "Fee: 5.95%\nSettlement: 1 - 48 hours",
"partnerIconPath": "bits-of-gold-logo-sm.png",
"forCountries": ["IL"],
"cryptoCodes": ["BTC", "ETH"],
"paymentTypeLogoKey": "bank",
"deepPath": "/order/buy",
"deepQuery": {
"order_id": "null",
"page": "0"
}
},
{
"id": "creditcard",
"pluginId": "creditcard",
Expand Down Expand Up @@ -58,44 +74,6 @@
"cryptoCodes": [],
"paymentTypeLogoKey": "bank"
},
{
"id": "wire",
"pluginId": "wire",
"paymentType": "wire",
"paymentTypes": ["wire"],
"title": "Bank Wire Transfer",
"description": "Fee: ~2%\nSettlement: ~5 minutes\nLimit $10000",
"forCountries": ["US"],
"notStateProvinces": { "US": ["AK", "AR", "CT", "NC", "NY", "TX", "FL"] },
"cryptoCodes": [],
"paymentTypeLogoKey": "bank"
},
{
"id": "sepa",
"pluginId": "sepa",
"forCountries": [
"AT", "BE", "BG", "CH", "CZ", "DE", "DK", "EE", "ES", "FI",
"FR", "GB", "GR", "HR", "HU", "IE", "IT", "LI", "LT", "LU",
"LV", "NL", "NO", "PL", "PT", "RO", "SE", "SI", "SK", "SM"
],
"paymentType": "sepa",
"paymentTypes": ["sepa"],
"description": "Fee: 1.55%\nSettlement: 1 - 2 days",
"title": "SEPA Bank Transfer",
"paymentTypeLogoKey": "bank"
},
{
"id": "libertyx",
"pluginId": "libertyx",
"paymentTypes": ["cash", "credit"],
"description": "Fee: 3-8%\nSettlement: Instant",
"title": "In-person Cash and Debit Card",
"partnerIconPath": "libertyXlogo.png",
"forCountries": ["US"],
"cryptoCodes": ["BTC"],
"paymentTypeLogoKey": "cash",
"deepPath": "/"
},
{
"id": "ideal",
"pluginId": "ideal",
Expand All @@ -118,6 +96,18 @@
"cryptoCodes": [],
"paymentTypeLogoKey": "interac"
},
{
"id": "libertyx",
"pluginId": "libertyx",
"paymentTypes": ["cash", "credit"],
"description": "Fee: 3-8%\nSettlement: Instant",
"title": "In-person Cash and Debit Card",
"partnerIconPath": "libertyXlogo.png",
"forCountries": ["US"],
"cryptoCodes": ["BTC"],
"paymentTypeLogoKey": "cash",
"deepPath": "/"
},
{
"id": "payid",
"pluginId": "payid",
Expand Down Expand Up @@ -187,14 +177,17 @@
"paymentTypeLogoKey": "revolut"
},
{
"id": "turkishbank",
"pluginId": "turkishbank",
"paymentType": "turkishbank",
"paymentTypes": ["turkishbank"],
"title": "Turkish Bank Transfer",
"description": "Fee: 8-9%\nSettlement: Instant - 1 hour",
"forCountries": [],
"cryptoCodes": [],
"id": "sepa",
"pluginId": "sepa",
"forCountries": [
"AT", "BE", "BG", "CH", "CZ", "DE", "DK", "EE", "ES", "FI",
"FR", "GB", "GR", "HR", "HU", "IE", "IT", "LI", "LT", "LU",
"LV", "NL", "NO", "PL", "PT", "RO", "SE", "SI", "SK", "SM"
],
"paymentType": "sepa",
"paymentTypes": ["sepa"],
"description": "Fee: 1.55%\nSettlement: 1 - 2 days",
"title": "SEPA Bank Transfer",
"paymentTypeLogoKey": "bank"
},
{
Expand All @@ -209,20 +202,38 @@
"paymentTypeLogoKey": "bank"
},
{
"id": "bitsofgold",
"pluginId": "bitsofgold",
"paymentTypes": ["bank"],
"title": "Israeli Bank Transfer",
"description": "Fee: 5.95%\nSettlement: 1 - 48 hours",
"partnerIconPath": "bits-of-gold-logo-sm.png",
"forCountries": ["IL"],
"cryptoCodes": ["BTC", "ETH"],
"paymentTypeLogoKey": "bank",
"deepPath": "/order/buy",
"deepQuery": {
"order_id": "null",
"page": "0"
}
"id": "turkishbank",
"pluginId": "turkishbank",
"paymentType": "turkishbank",
"paymentTypes": ["turkishbank"],
"title": "Turkish Bank Transfer",
"description": "Fee: 8-9%\nSettlement: Instant - 1 hour",
"forCountries": [],
"cryptoCodes": [],
"paymentTypeLogoKey": "bank"
},
{
"id": "venmo",
"pluginId": "venmo",
"paymentType": "venmo",
"paymentTypes": ["venmo"],
"title": "Venmo",
"description": "Fee: ~5%\nSettlement: 5 min - 24 hours",
"forCountries": ["US"],
"cryptoCodes": [],
"paymentTypeLogoKey": "venmo"
},
{
"id": "wire",
"pluginId": "wire",
"paymentType": "wire",
"paymentTypes": ["wire"],
"title": "Bank Wire Transfer",
"description": "Fee: ~2%\nSettlement: ~5 minutes\nLimit $10000",
"forCountries": ["US"],
"notStateProvinces": { "US": ["AK", "AR", "CT", "NC", "NY", "TX", "FL"] },
"cryptoCodes": [],
"paymentTypeLogoKey": "bank"
},
{
"id": "xanpool",
Expand Down Expand Up @@ -307,6 +318,10 @@
"id": "libertyx",
"sortIndex": 50
},
{
"id": "venmo",
"sortIndex": 15
},
{
"id": "wire",
"sortIndex": 40
Expand Down
Loading
Loading