What's actually happening
Shopify announced the deprecation of Script Editor in 2025. Three dates matter:
If you're still on Scripts, you've got a hard deadline and a non-optional migration. The question isn't whether to move — it's where to move and how fast.
Your three options
Option 1: Rewrite as a custom Shopify Function
If you have engineering resources and your payment logic is genuinely unique, you can build your own Shopify Function in Rust or JavaScript and deploy it through the Shopify CLI. Expect a few days of dev time plus ongoing maintenance. Sensible for enterprise teams with full-time Shopify devs.
Option 2: Use a payment customization app
For 95% of Scripts use cases — hiding Cash on Delivery, restricting payment methods by country, gating by customer tag — a purpose-built app does the same job in minutes with no code. PayLogic is one of these apps, built specifically for the Scripts migration window.
Option 3: Do nothing — but your rules already broke
Not recommended, and if you're reading this after June 30 it has already happened. The most common Scripts use cases — hiding Cash on Delivery for high-cart-value orders, blocking prepay for first-time customers, hiding payment methods in restricted countries — exist for real reasons (chargeback prevention, fraud reduction, regulatory compliance). They stopped applying silently on June 30, and every order since has run without them. Restoring them stops the bleeding.
Common Scripts patterns and their PayLogic equivalents
Most production Scripts boil down to a small set of patterns. Here's how the common ones map to PayLogic rules:
| Scripts pattern | PayLogic rule |
|---|---|
Hide Cash on Delivery when cart.subtotal_price > 20000 |
Hide Cash on Delivery when cart total ≥ $200 |
Hide PayPal when cart.shipping_address.country_code == 'BR' |
Hide PayPal when shipping country is Brazil |
Hide all non-credit-card methods if customer.tags.include?('high-risk') |
Hide payment methods when customer is tagged high-risk |
| Block COD if customer has no prior orders | Hide Cash on Delivery for first-time customers |
Hide methods when cart.line_items.any? { |i| i.product.tags.include?('preorder') } |
Hide payment methods when cart contains a product tagged preorder |
| Rename "Manual" to "Bank Transfer" for B2B customers | Rename Manual → Bank Transfer when customer is tagged b2b |
| Move Shop Pay to position 1 for repeat customers | Move Shop Pay to position 1 when customer has ≥ 1 prior order |
| Hide COD when cart item count exceeds 5 | Hide Cash on Delivery when cart has ≥ 5 items |
| Hide COD for certain postal / ZIP regions | Hide Cash on Delivery when the shipping ZIP / postal code starts with a given prefix |
Hide prepay methods when customer.nil? (guest checkout) |
Hide payment methods when the shopper is a guest (not logged in) |
| No Scripts equivalent | Hide Cash on Delivery when Shopify's risk signals classify the order as high-risk (PayLogic Plus tier — most common use case in MENA, SEA, and LATAM markets where COD return abuse is high) |
The three-step migration
- Install PayLogic on your store Available on the Shopify App Store. Free Development plan for Shopify Partner dev stores; production plans from $1.99/month with a 3-day trial.
- Run the Scripts importer Open PayLogic in your admin, click Import from Scripts. PayLogic reads your existing Script Editor configuration, identifies the patterns above, and creates equivalent rules. Patterns that don't map cleanly are flagged so you can address them manually.
- Test on a draft order, then enable Place a draft order on a test cart that matches each of your rules. Confirm the right payment methods are hidden, reordered, or renamed at checkout, then enable the rules. (Scripts stopped executing on June 30, so there's nothing left to run in parallel — PayLogic's Functions take over checkout cleanly.)
Why PayLogic specifically
- Native Shopify Functions. Runs at checkout with sub-50ms latency. Same execution model as Scripts but on the supported, future-proof platform.
- One-click Scripts importer. Reads your existing payment scripts and converts the common patterns to PayLogic rules automatically.
- Free Development plan for Shopify Partner dev stores. Test PayLogic on every client project before committing to a paid plan. All paid-tier features unlocked on dev stores.
- Risk-gated hide (composite). Dynamic COD gating using Shopify's order risk signals. Unique to PayLogic's Plus tier — Scripts never exposed this.
- Built for the migration window. Pricing intentionally low ($1.99 / $4.99 / $9.99 per month, or ~30% off with annual billing) so you can adopt without budget review.
FAQ
- Can I run Scripts and PayLogic in parallel?
- Functions and Scripts always ran independently, so installing PayLogic never conflicts with anything. Note that as of June 30, 2026 Scripts no longer execute at all — so there's no live parallel period anymore. Install PayLogic, import or rebuild your rules, and its Functions take over checkout.
- What if my Scripts have custom Ruby logic the importer doesn't recognize?
- PayLogic's templates cover the ~95% of payment Scripts that follow common patterns. For genuinely custom logic (e.g., calling an external API mid-script), PayLogic's rule engine supports AND/OR composition across all conditions, which handles most edge cases. For the truly bespoke 5%, you'd write a custom Function — but those merchants typically already have engineering resources.
- Do my rules survive if I uninstall PayLogic?
- Rule configuration is stored in Shopify metafields tied to your shop, so uninstalling and reinstalling preserves your rules. Uninstalling stops the Function from executing, so your payment methods revert to Shopify's defaults at checkout until you reinstall and re-enable.
- What about shipping customization or discount Scripts?
- The June 30 deadline applies to all Scripts, not just payment Scripts. PayLogic only covers the payment side. For shipping customization, look at apps in the "Shipping methods" category; for discount Scripts, look at the "Discounts" category. PayLogic's roadmap may add shipping in V2 — for now, focus on the payment migration.
- I'm not on Shopify Plus. Does this affect me?
- If you used Script Editor, you're on Plus (Script Editor was Plus-only). Non-Plus merchants weren't able to use Scripts in the first place, so this deprecation doesn't affect them.
- I'm a Shopify Partner building stores for clients. How does pricing work across client stores?
- The Free Development plan applies on any Shopify Partner development store, so you can install and test PayLogic on every client project at no cost. When the client store transitions to production, the client picks a paid plan. There's no per-partner license — each client store has its own subscription.
Restore your checkout rules.
Free on dev stores. From $1.99/month (or ~30% off annually) on production. 10 minutes to install and import.
Install PayLogic on the App Store