Create a PaymentIntent with the payment_method_types set to automatic or a curated list, including payment_method_options for any method-specific configuration
Initialize the Stripe.js Payment Element with layout options set to accordion or tabs and pass paymentMethodOrder to influence display ranking
Use the customer's locale, IP-derived country, and cart currency to compute a recommended method order server-side and pass it as paymentMethodOrder in the Elements options
Listen to the change event on the Payment Element to detect which method the customer ultimately selects for analytics
On form submission, call stripe.confirmPayment with the Elements instance; handle next_action for redirect-based methods like iDEAL or Bancontact
Test method ranking across locales in Stripe test mode by simulating different customer locales
Payment method availability is gated on your Stripe account capabilities; enabling a new method in paymentMethodOrder without activating the capability in the Dashboard causes it to be silently omitted
Redirect-based methods return the customer to a return_url; ensure that URL handles both success and failure states and reads the payment_intent_client_secret from the query string to confirm status
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp