⚙️ Developer Notice (visible until credentials are set):
Replace
PAYWB_MERCHANT_ID and PAYWB_API_KEY in the script below with your real PayWb credentials.
Also add your SHOPIFY_STOREFRONT_TOKEN. See the setup guide at the bottom of this page.
1
Contact Information
2
Shipping Address
3
Payment Details
Visa
Mastercard
Amex
Discover
Powered by PayWb / Webpay — all transactions are encrypted & secure
📋 Setup Guide (remove this section when live)
Step 1 — Get your Shopify Storefront API Token
- Shopify Admin → Settings → Apps and sales channels
- Click "Develop apps" → "Create an app" (name it "Checkout App")
- Go to Configure Storefront API scopes, enable:
unauthenticated_read_checkouts,unauthenticated_write_checkouts,unauthenticated_read_product_listings - Click Install app → copy the Storefront API access token
- Paste it as
SHOPIFY_STOREFRONT_TOKENin the CONFIG block in the script
Step 2 — Get PayWb / Webpay Credentials
- Log in to your PayWb merchant dashboard
- Go to API Settings → copy your Merchant ID and API Key
- Paste them as
PAYWB_MERCHANT_IDandPAYWB_API_KEYin the CONFIG block - Also confirm the correct API endpoint URL with PayWb's documentation
- Set
mode: 'sandbox'for testing,'live'when ready
Step 3 — Redirect Shopify cart to this page
- Shopify Admin → Online Store → Themes → Edit code
- Open
cart.liquidor your cart drawer template - Find the checkout button and change its href/action to:
https://checkout.samridhi-hub.com?cart={{cart.token}} - Save — now "Checkout" on your Shopify store lands on this page!
Step 4 — Deploy to Cloudflare Pages
- Log in to dash.cloudflare.com → go to Workers & Pages
- Click "Create application" → "Pages" → "Upload assets"
- Upload this
checkout.htmlfile (rename itindex.htmlfirst) - Once deployed, go to Custom domains and add
checkout.samridhi-hub.com - In your Cloudflare DNS, a CNAME record will be auto-created pointing to your Pages deployment
Order Summary
Samridhi Hub · KAILASA Series
Loading your cart…
Your cart is empty.
Browse our collection →
SSL Encrypted · 256-bit Secure · PayWb