All of those examples are calling tokenize
and generating the source_id
. They don’t actually submit a payment. If you inspect the page and go to the network tab you’ll see the returned nonce
that passed in the response.:
{
"card_nonce": "cnon:CBASEK9ebYTK81fQFbVlT5TLaEQ",
"card": {
"digital_wallet_type": "NONE",
"card_brand": "VISA",
"last_4": "1111",
"exp_month": 11,
"exp_year": 2025,
"billing_postal_code": "12345"
},
"session_id": "fhtdbTRk73VL2Zj00AA7GLGC5QnMaE8mmfoC41GRdqP1ja5Uu_hTT2dbrdROWRuxZHVA54rMMnS_i-Xn"
}
That nonce is what you’ll then POST to the CreatePayment
request.