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

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -