#Karl Yang
1 messages · Page 1 of 1 (latest)
Test mode only allows Stripe test cards here: https://stripe.com/docs/testing
Real card can't be used in test mode
Error will be thrown when using real card in test mode
oic thx
Our IT colleague told me that he had used the card number provided by Stripe and tried to receive some HKD200 transactions under the Test mode on the Stripe website. The result is ok (shown below), but he can't find any transaction in the reports, and the balance remains "0".
状态
200 OK
ID
req_axd50kSVqTa3Uw
时间
2023/3/27 下午1:19:23
IP 地址
221.127.93.147(来自 221.127.93.147 的服务器)
API 版本
2022-08-01
最新
来源
管理平台 — donation@cccowe.org
幂等
键 — 371b2e0d-fd56-4098-969f-9ab56000d506
Should the successful transaction shown on the report and balance also?
Can you share the Payment Intent ID (pi_xxx) of the payment?
pm_1MqG54AZZ5NhXiy7qQNYbeGj
that's the PaymentMethod id, do you have the corresponding PaymentIntent id?
Where is it?
how do you collect payment?
that's just collection of a PaymentMethod. How are you collecting payment? What guide are you following to collect payment with Stripe - can you share the URL?
java script
Sever is CentOS 6.2 and php v5.3,so cannot follow the guide on Stripe
server
that's really really old
are your values unlikely to change? i.e. it's always going to be that amount, currency, etc for that page?
i'm not familiar with that legacy API, and i really don't recommend that you continue using that. Ideally, you should upgrade, but if you can't, you can consider using https://stripe.com/docs/payment-links
show "ok" but can't find in report and haven't increase in the balance
I clicked the Checkout button and nothing happened. Is this expected?
in test mode, even the test $200 transaction shows "ok", the report and balance under test mode should show the $200 right?
Where is the ok shown? In Stripe flow, there is no ok message for successful payment
sorry, just backward the code Ctrl + F5 please
This is 200 for creating payment method, not creating a payment
so, how can I creates a payment?
You can follow this guide to create the payment: https://stripe.com/docs/payments/accept-a-payment
thank you, let us try try first
PHP Fatal error: Can't inherit abstract function Composer\Package\CompletePacka geInterface::setRepositories() (previously declared abstract in Composer\Package \RootPackageInterface) in phar:///usr/local/bin/composer/src/Composer/Package/Ro otPackageInterface.php on line 24
how to resolve it?
I'm afraid I'm not familiar with PHP and the error is not Stripe specific. Alternatively, I'd recommend downloading the source code here https://stripe.com/docs/payments/quickstart with step by step guide and integrate it into your app
thank you, we try try