Diagnostics
What this deployment actually sees, as opposed to what we think we set.
Place a test orderwaiting
Before you start
| Check | Now | What that means |
|---|---|---|
| Shopify permissions | not read yet | Nothing can be concluded either way. The permissions panel at the top of this page carries the detail. |
| Storefront host | not read yet | The Shopify read has not come back, so the host the link would be built on is unknown. |
| Storefront password | not read yet | This is the third thing that makes a correct permalink look broken, and the one nobody thinks of on a store that has not launched. |
| Webhook delivery | cannot be checked from here | Whether Shopify has an orders/create subscription pointed at this deployment cannot be read from inside the app. |
Pick what to buy
Pick whose code to prove
Not read yet.
The link
Nothing to open yet
The Shopify read has not come back, so there are no variant ids to build a link from.
Then
- Open it in an incognito window. A browser already carrying a customer session attaches the order to that customer, and the program pays on new customers.
- Check out with an email that has never orderedon this store. Shopify's
orders_countis what decidesis_new_customer, and a reused address makes the one number this test exists to prove come back wrong. - Pay with Bogus Gateway. Card number 1, any name, any future expiry, any three digit CVV. It sets
test: trueon the order, which is the flagALLOW_TEST_ORDER_ATTRIBUTIONlets through. - Confirm the discount actually came off at the checkout. If it did not, the code is dead in Shopify whatever this page recorded, and nothing after this point means anything.
And check
- An
attributionsrow for the order, withsourceofcode. - A
snowball_salesrow withsourceofshopify, a commission equal to the live payout, andis_new_customerset. - The sale on that creator's own page, in Orders and in what they have earned. Pick somebody above and this becomes a link to them.
- Then turn
ALLOW_TEST_ORDER_ATTRIBUTIONback off, redeploy, and delete the rows. They are real rows and a payout run will pay them.
Environment as deployed
Reading.