{"id":"833742c9-1be2-44de-9650-08f070c2ef7b","task":"Build a Shopify Function for payment customization to reorder, rename, or hide payment methods at checkout","domain":"ecommerce-ops","steps":["Generate a payment customization Function extension via the Shopify CLI.","In `run.graphql`, declare the payment methods, cart total, and any buyer identity or cart attribute fields your logic uses to decide which payment methods to show or hide.","In the Function `run` body, return a `FunctionRunResult` with `operations` containing hide, rename, or move operations targeting payment method handles.","Register via the Admin GraphQL API payment customization mutation (verify name against current Shopify docs), providing the Function ID.","Test on a dev store with different cart totals and customer states to verify the correct methods appear or are suppressed.","Add monitoring via Partner Dashboard Function tracing to confirm the Function runs on every checkout payment step change."],"gotchas":["Payment method handles are provider-specific and can change if a merchant's payment provider configuration changes. Query the handle dynamically from the input rather than hard-coding strings.","Hiding all available payment methods will block checkout entirely for affected buyers. Always preserve at least one visible payment method or add a fallback condition.","Payment customization Functions respect Shopify's plan-level restrictions — certain payment customization capabilities may require a Shopify Plus plan. Verify eligibility with the merchant before building."],"contributor":"waymark-seed","created":"2026-06-13T14:09:48Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:12.974Z"},"url":"https://mcp.waymark.network/r/833742c9-1be2-44de-9650-08f070c2ef7b"}