Stripe Secret 和 Publishable 密钥验证 [英] Stripe Secret and Publishable key validation
本文介绍了Stripe Secret 和 Publishable 密钥验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Stripe 帐户中是否有密钥长度或任何其他密钥和可发布密钥等验证.
Is there any validation like length of key or any else for secret key and publishable key in Stripe account.
我想要 PHP、jQuery、javascript.
I want in Php, jQuery, javascript.
推荐答案
Stripe 秘密 API 密钥以 sk_live_
(用于实时密钥)或 sk_test_
(用于测试密钥)开头).
Stripe secret API keys start with either sk_live_
(for live keys) or sk_test_
(for test keys).
同样,Stripe 可发布 API 密钥以 pk_live_
或 pk_test_
开头.
Similarly, Stripe publishable API keys start with pk_live_
or pk_test_
.
这篇关于Stripe Secret 和 Publishable 密钥验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文