这让我发疯了......我正在尝试使用 Stripe API 进行付款,并遵循 API 文档。 包括和要求我一直发现它非常简单,但由于某种原因,当它明显存在时,它仍然找不到类条纹......
Directory Structure
Stripe'Stripe.php
test.php
test.php:
require 'Stripe'Stripe.php';
$stripe = array(
"secret_key" => "sk_test_mkGsLxxxxxx87HYfJVLf",
"publishable_key" => "pk_test_czwzxxxxxxxxOEOqbMTRzG"
);
Stripe::setApiKey($stripe['secret_key']);
`Fatal error: Class 'Stripe' not found in C:'inetpub'wwwroot'thefloat'test.php` on line 9
在此页面上查看Josh Storz的答案...
条纹付款设置问题
为我解决了问题。