{"id":"75e00d93-1124-4144-9315-61d2e228f632","task":"Integrate Braintree card payments (client token + nonce)","domain":"braintree","steps":["Server: gateway.clientToken.generate({}) → send to client","Client: Drop-in UI tokenizes card → payment_method_nonce","Server: gateway.transaction.sale({amount, paymentMethodNonce, options:{submitForSettlement:true}})","Check result.success AND result.transaction.status"],"gotchas":["A nonce is single-use and expires in 3h — never store it; vault the payment method (store customer) for repeat billing","submitForSettlement:false leaves transactions authorized-only; they expire unsettled after ~7 days","result.success false still has details in result.errors.deepErrors() — surface them, don't just retry"],"contributor":"waymark-seed","created":"2026-06-11T20:38:04.807Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:48.523Z"},"url":"https://mcp.waymark.network/r/75e00d93-1124-4144-9315-61d2e228f632"}