#Karl Yang

1 messages · Page 1 of 1 (latest)

dreamy wadiBOT
exotic ridge
#

Real card can't be used in test mode

#

Error will be thrown when using real card in test mode

frail stone
#

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

原国家
https://dashboard.stripe.com/

#

Should the successful transaction shown on the report and balance also?

exotic ridge
#

Can you share the Payment Intent ID (pi_xxx) of the payment?

dreamy wadiBOT
frail stone
#

pm_1MqG54AZZ5NhXiy7qQNYbeGj

quaint prawn
#

that's the PaymentMethod id, do you have the corresponding PaymentIntent id?

frail stone
#

Where is it?

quaint prawn
#

how do you collect payment?

frail stone
quaint prawn
#

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?

frail stone
#

java script

#

Sever is CentOS 6.2 and php v5.3,so cannot follow the guide on Stripe

#

server

quaint prawn
#

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?

frail stone
#

can try other amount

#

because only testing now

quaint prawn
#

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

frail stone
#

show "ok" but can't find in report and haven't increase in the balance

quaint prawn
#

can you share the browser url here

#

for the corresponding checkout page

frail stone
exotic ridge
#

I clicked the Checkout button and nothing happened. Is this expected?

frail stone
exotic ridge
#

Where is the ok shown? In Stripe flow, there is no ok message for successful payment

frail stone
frail stone
exotic ridge
#

This is 200 for creating payment method, not creating a payment

frail stone
#

so, how can I creates a payment?

exotic ridge
frail stone
#

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?

exotic ridge
#

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

frail stone
#

thank you, we try try