one_method_support

Created Diff never expires
7 removals
41 lines
7 additions
41 lines
▸ Mainnet payment: Will transfer $0.01 to 0x08fab604... Continue? (y/N) y

mppx validate https://climate.stripe.dev
mppx validate https://climate.stripe.dev




Discovery (/openapi.json)
Discovery (/openapi.json)
✓ Document found and parseable
✓ Document found and parseable
✓ Valid OpenAPI structure
✓ Valid OpenAPI structure
✓ Paid endpoints found (1 endpoint(s))
✓ Paid endpoints found (1 endpoint(s))


POST /api/contribute
POST /api/contribute
Challenge
Challenge
✓ Returns 402 without credentials
✓ Returns 402 without credentials
✓ WWW-Authenticate header present (Payment scheme)
✓ WWW-Authenticate header present (Payment scheme)
✓ Challenge parseable (tempo/charge)
✓ Challenge parseable (tempo/charge)
✓ Challenge has id
✓ Challenge has id
✓ Challenge has realm
✓ Challenge has realm
✓ Challenge expires in the future (5m from now)
✓ Challenge expires in the future (5m from now)
⚠ Realm matches server hostname (realm="climatestripe-iil165o37.vercelapp.stripe.dev" vs host="climate.stripe.dev")
⚠ Realm matches server hostname (realm="climatestripe-iil165o37.vercelapp.stripe.dev" vs host="climate.stripe.dev")
→ Set the realm to your production hostname (or base domain) in the challenge. Clients use realm to verify they are paying the right server.
→ Set the realm to your production hostname (or base domain) in the challenge.
✓ Valid recipient address
✓ Valid recipient address
✓ Valid currency address (mainnet)
✓ Valid currency address (mainnet)
✓ Amount is valid integer string
✓ Amount is valid integer string
Error Handling
Error Handling
✓ Malformed credential returns 402 (not 500)
✓ Malformed credential returns 402 (not 500)
✓ Error response includes fresh challenge
✓ Error response includes fresh challenge
Payment
Payment
✓ Payment: credential created

▸ Pay $0.01 USDC.e on Tempo Mainnet. Continue? (y/N) y
✓ Payment [tempo]: submitted
✓ Payment: successful (HTTP 200)
✓ Payment: successful (HTTP 200)
✓ Payment-Receipt header present
✓ Payment-Receipt header present
✓ Receipt parseable
✓ Receipt parseable
✓ Receipt status is "success"
✓ Receipt status is "success"
✓ Receipt reference valid (0x67747ae39ec0e11aad...)
✓ Receipt reference valid (0x0c667d4435e5a78246...)
✓ Receipt timestamp recent (0s ago)
✓ Receipt timestamp recent (1s ago)
✓ Response body non-empty (application/json, 131B)
✓ Response body non-empty (application/json, 131B)
✓ Content-Type header set (application/json)
✓ Content-Type header set (application/json)
✓ On-chain transaction (https://explore.tempo.xyz/receipt/0x67747ae39ec0e11aadaba17531df84328d4391d6a189d2ba573467d6caa9e0ec)
✓ On-chain transaction (https://explore.tempo.xyz/receipt/0x0c667d4435e5a78246eede522e1d74c3b7851ee7e5f7f2d27d83bc8696cd905a)


Summary: 24 passed, 1 warning(s)
Summary: 24 passed, 1 warning(s)


Tip: validate a testnet server too for free. This CLI automatically provisions and funds a testnet wallet for testing.
Tip: validate a testnet server too for free. This CLI automatically provisions and funds a testnet wallet for testing.