From 6a5043977d67c6fd0cc30293c68f72a91f10ac2d Mon Sep 17 00:00:00 2001 From: Nick Jones Date: Wed, 17 Jul 2024 15:11:59 +0100 Subject: [PATCH] add supported_buyer_context examples to payment app extensions --- .../shopify.extension.toml.liquid | 6 ++++++ .../shopify.extension.toml.liquid | 6 ++++++ .../shopify.extension.toml.liquid | 8 ++++++++ .../shopify.extension.toml.liquid | 8 ++++++++ .../shopify.extension.toml.liquid | 6 ++++++ 5 files changed, 34 insertions(+) diff --git a/payments-app-extension-credit-card/shopify.extension.toml.liquid b/payments-app-extension-credit-card/shopify.extension.toml.liquid index 0ad9e23..4f69d26 100644 --- a/payments-app-extension-credit-card/shopify.extension.toml.liquid +++ b/payments-app-extension-credit-card/shopify.extension.toml.liquid @@ -25,5 +25,11 @@ supports_deferred_payments = false test_mode_available = true encryption_certificate_fingerprint = "" +# [[extensions.supported_buyer_contexts]] +# currency = "USD" + +# [[extensions.supported_buyer_contexts]] +# currency = "CAD" + [[extensions.targeting]] target = "payments.credit-card.render" diff --git a/payments-app-extension-custom-credit-card/shopify.extension.toml.liquid b/payments-app-extension-custom-credit-card/shopify.extension.toml.liquid index bcdf3da..44cd45b 100644 --- a/payments-app-extension-custom-credit-card/shopify.extension.toml.liquid +++ b/payments-app-extension-custom-credit-card/shopify.extension.toml.liquid @@ -37,5 +37,11 @@ multiple_capture = false # type = "string" # required = true +# [[extensions.supported_buyer_contexts]] +# currency = "USD" + +# [[extensions.supported_buyer_contexts]] +# currency = "CAD" + [[extensions.targeting]] target = "payments.custom-credit-card.render" diff --git a/payments-app-extension-custom-onsite/shopify.extension.toml.liquid b/payments-app-extension-custom-onsite/shopify.extension.toml.liquid index 0e4793e..411411c 100644 --- a/payments-app-extension-custom-onsite/shopify.extension.toml.liquid +++ b/payments-app-extension-custom-onsite/shopify.extension.toml.liquid @@ -35,5 +35,13 @@ test_mode_available = true # type = "string" # required = true +# [[extensions.supported_buyer_contexts]] +# currency = "CAD" +# countries = ["CA"] + +# [[extensions.supported_buyer_contexts]] +# currency = "EUR" +# countries = ["DE", "FR", "LT"] + [[extensions.targeting]] target = "payments.custom-onsite.render" diff --git a/payments-app-extension-offsite/shopify.extension.toml.liquid b/payments-app-extension-offsite/shopify.extension.toml.liquid index 3eff61c..4638195 100644 --- a/payments-app-extension-offsite/shopify.extension.toml.liquid +++ b/payments-app-extension-offsite/shopify.extension.toml.liquid @@ -22,5 +22,13 @@ supports_installments = false supports_deferred_payments = false test_mode_available = true +# [[extensions.supported_buyer_contexts]] +# currency = "CAD" +# countries = ["CA"] + +# [[extensions.supported_buyer_contexts]] +# currency = "EUR" +# countries = ["DE", "FR", "LT"] + [[extensions.targeting]] target = "payments.offsite.render" diff --git a/payments-app-extension-redeemable/shopify.extension.toml.liquid b/payments-app-extension-redeemable/shopify.extension.toml.liquid index 48b81c5..cea005a 100644 --- a/payments-app-extension-redeemable/shopify.extension.toml.liquid +++ b/payments-app-extension-redeemable/shopify.extension.toml.liquid @@ -32,5 +32,11 @@ balance_url = "https://api.paymentprovider.com/balance" # type = "string" # required = true +# [[extensions.supported_buyer_contexts]] +# currency = "USD" + +# [[extensions.supported_buyer_contexts]] +# currency = "CAD" + [[extensions.targeting]] target = "payments.redeemable.render"