Connect Stan Store to Encore via Zapier
Follow the three copy-paste Zaps below so every new Stan Store buyer gets a private login link, creates her password, and cancellations remove access cleanly when the paid period ends.
Before You Start: One Secret Key in Vercel
Step 0 · 30 Seconds
In your Vercel project settings (Settings → Environment Variables), make sure ENCORE_ZAPIER_WEBHOOK_SECRET is set to a secret passphrase only you know. Paste that exact same passphrase into the X-Zapier-Secret header inside Zapier below.
Zap 1: Instant Buyer Unlock on New Order
Required · Active BuyersIn Zapier, click Create Zap and copy these exact values:
POST
https://encore-affiliate-studio.vercel.app/api/webhooks/stan
Content-Type : application/jsonX-Zapier-Secret : <your ENCORE_ZAPIER_WEBHOOK_SECRET from Vercel>
{
"email": "{{customer_email}}",
"full_name": "{{customer_full_name}}",
"product_name": "{{product_name}}",
"order_id": "{{order_id}}",
"discount_code": "{{discount_code}}",
"status": "active"
}
Map discount_code to Stan's discount or coupon field if Zapier shows one. Buyers who used EVOPRO25 are tagged as Evolution Pro members automatically.
Zap 2: Remove Access When a Membership Ends
Required · Clean Access
Duplicate Zap 1, change the Stan trigger to Cancelled Membership (it fires when the paid period actually ends, so buyers keep access through the time they paid for), keep the exact same Webhook URL and X-Zapier-Secret header, and set "status": "cancelled":
{
"email": "{{customer_email}}",
"full_name": "{{customer_full_name}}",
"product_name": "{{product_name}}",
"order_id": "{{order_id}}",
"status": "cancelled"
}
Zap 3: Welcome and Login Link Email
Required · Buyer SecurityEncore sends every new buyer (and anyone who taps Email me a login link) a private one-tap login link. This Zap delivers it from your own Gmail:
ENCORE_ZAPIER_RESEND_HOOK_URL with that hook URL, then redeploy.
email. Subject: Your Encore login link. Body uses first_name and the unlock_url button link.
Hi {{first_name}},
Tap this private link to open your Encore Studio:
{{unlock_url}}
The first time, you will create your Encore password. After that, sign in with your email and password at https://encore-affiliate-studio.vercel.app
This link works for 30 days and only for you, so please do not forward it.
Haley
Encore Studio
Interactive Live Webhook & Buyer Login Tester
Test End-to-End Right NowVerify your live backend in two clicks: send a simulated Stan Store order on the left, then verify that buyer email unlocks Studio on the right!