我使用与ActiveMarchent条纹支付网关,我已经实现如下的源代码:条纹付款:PARAMS:错误:类型:invalid_request_error
ActiveMerchant::Billing::Base.mode = :test
ActiveMerchant::Billing::StripeGateway.new(:login => 'sk_test_...')
,我得到了下面的错误,我花了很多时间寻找一个解决方案,但invain我没有找到它:
params:
error:
type: invalid_request_error
message: Sending credit card numbers directly to the Stripe API is generally unsafe.
We suggest you use test tokens that map to the test card you are using, see
https://stripe.com/docs/testing.
谢谢
谢谢,这意味着我应该把令牌而不是卡号? – Rodrigo