php - Stripe payment gateway implementation -


i want validate stripe payment gateway token id before charging customer using token id.

can in stripe payment gateway?

development language validating token id

there 1 way validate token, retrieve token details

check here https://stripe.com/docs/api#retrieve_token

\stripe\stripe::setapikey("sk_test_*******lfq2");  \stripe\token::retrieve("tok_******gxzwu"); 

it throws error if invalid token_id passed

hope helpful.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

.net - Generate assembly with Roslyn -

batch file - filebot superstrict script: need tiny video sample or other solution -