Trouble with Shopify Buy Buttons — checkout link breaks, outdated SDK, and need help fixing or modernizing the integration

Topic summary

A developer is experiencing critical issues with Shopify Buy Buttons integrated into a custom PHP website (rigrite.com).

Current Setup:

  • Buy Buttons embedded via Shopify’s buy-button-storefront.min.js CDN
  • Products queried dynamically by title, buttons injected with correct variant IDs
  • Hosted on DigitalOcean with manual deployment

Main Problems:

  • Checkout button generates “Something went wrong / Not Found” errors despite products adding to cart successfully
  • Direct cart links (e.g., /cart/VARIANT_ID:1) work perfectly, but SDK-generated checkout fails
  • Attempted SDK update via Git patch failed due to npm version conflicts
  • @shopify/buy-button-js GitHub repo isn’t npm-installable with unclear build process

Seeking Help:

  • Fix existing SDK implementation or migrate to simpler cart-link-based method
  • Modernize integration for better stability and maintainability
  • Open to hiring developer with Shopify Storefront/Buy Button SDK expertise

Status: Unresolved, actively seeking technical assistance or paid developer support.

Summarized with AI on October 26. AI used: claude-sonnet-4-5-20250929.

Hi everyone — I run a custom website (rigrite.com) where I integrate Shopify Buy Buttons into my static PHP pages using a custom helper that injects buttons based on part numbers or product titles. I’m currently facing multiple issues and am looking for either a solution or someone I can hire to help fix it properly.

Here’s a breakdown of what I’ve got and what’s going wrong:

:white_check_mark: Setup:

  • Shopify Buy Buttons are embedded using Shopify’s buy-button-storefront.min.js from their CDN
  • Buttons are generated dynamically by querying products by title, then injecting them into the page with the correct variantId
  • The code is hosted on a DigitalOcean server (manual deployment) and the frontend is mostly PHP
  • The checkout flow uses Shopify’s Buy Button SDK to generate a cart and direct to checkout

:cross_mark: Current Issues:

  • Clicking “Checkout” throws a “Something went wrong / Not Found” error — the Shopify checkout link fails (even though the product adds to cart correctly)
  • Variant IDs are correct, and direct links like https://rig-rite-inc.myshopify.com/cart/VARIANT_ID:1 work perfectly — but the SDK-generated checkout does not
  • Tried applying a Git patch to update the SDK dependency, but it failed (npm version mismatches, likely due to @shopify/buy-button-js not being published)
  • Shopify’s GitHub repo for buy-button-js is not npm-installable, and the build process is unclear
  • Want to fix this either by restoring the SDK-based method or migrating to a simpler cart-link-based method for reliability

:folded_hands: What I Need:

  • Help fixing or replacing the Buy Button SDK flow
  • Preferably modernizing the integration to something stable and easy to maintain
  • Open to hiring a developer who understands Shopify Storefront or Buy Button SDK and can implement a clean, working solution for my custom site

Thanks in advance for any guidance — or feel free to DM if you’re available for hire!