From 94a4ee99272cbb2a7d6ef2c7ef5cd60bfd059f7b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 26 Sep 2023 11:26:54 -0700 Subject: update shopify instructions --- .../[username]/settings/[...tab]/_shopify.svelte | 57 ++++++++++++++-------- 1 file changed, 36 insertions(+), 21 deletions(-) (limited to 'src') diff --git a/src/routes/(app)/[username]/settings/[...tab]/_shopify.svelte b/src/routes/(app)/[username]/settings/[...tab]/_shopify.svelte index 7b9cc40b..aeecc4d7 100644 --- a/src/routes/(app)/[username]/settings/[...tab]/_shopify.svelte +++ b/src/routes/(app)/[username]/settings/[...tab]/_shopify.svelte @@ -4,15 +4,23 @@ import { page } from '$app/stores'; export let user; - $: paymentsUrl = user.shopifyStore && "https://admin.shopify.com/store/" + user.shopifyStore + "/settings/payments"; - $: checkoutUrl = user.shopifyStore && "https://admin.shopify.com/store/" + user.shopifyStore + "/settings/checkout"; - $: appsUrl = user.shopifyStore && "https://admin.shopify.com/store/" + user.shopifyStore + "/settings/apps/development"; + $: paymentsUrl = + user.shopifyStore && + 'https://admin.shopify.com/store/' + user.shopifyStore + '/settings/payments'; + $: checkoutUrl = + user.shopifyStore && + 'https://admin.shopify.com/store/' + user.shopifyStore + '/settings/checkout'; + $: appsUrl = + user.shopifyStore && + 'https://admin.shopify.com/store/' + user.shopifyStore + '/settings/apps/development';
-
admin.shopify.com/store/
+
+ admin.shopify.com/store/ +

- Add Bitcoin under Payments > Manual payment methods with a description like "Pay with Bitcoin". + Add Bitcoin under Payments > Manual payment methods with a description like "Pay with Bitcoin".

- - - -

-Create an app named Coinos under Apps > App Development -

- -

-Edit the Admin API scopes to enable write_orders then -install the app into your store and copy the Admin API access token here. + +

+ Copy this into Checkout -> Additional scripts +

+
- - + +

Coinos can automatically mark orders as Paid if you provide an API token. + + +

+ Create a new app in Apps > App Development +

- Copy this into Checkout -> Additional scripts + Edit the Admin API scopes to enable write_orders permission then install the + app into your store and copy the Admin API access token here.

-- cgit v1.2.3