“invalid_request_error” error occurs when using “Payment Element”
-
↓ From Stripe Log
POST /v1/payment_intents
HTTP ステータスコード 400
時刻 2024/12/06, 15:58:30
IP アドレス 106.72.156.65
API バージョン 2020-08-27
キー ******************
ユーザーエージェント Stripe/v1 PhpBindings/7.100.0 Checkout Plugins - Stripe Woo/1.10.0 (https://ww.wp.xz.cn/plugins/checkout-plugins-stripe-woo/)↓ Post Body Request
{
"amount": "11656",
"currency": "JPY",
"customer": "***************************",
"description": "WPサンプル - Order 1222",
"metadata": {
"address": "FFFFF",
"city": "FFFF",
"country": "JP",
"email": "*********@gmail.com",
"name": "1 1",
"phone": "*********",
"site_url": "https://******************/wp"
},
"payment_method": "************************************",
"payment_method_types": {
"0": "card"
},
"statement_descriptor": "WPサンプル"
}↓ Response Body
{
"error": {
"message": "The statement_descriptor parameter is not supported for the payment_method_typecard. To continue supporting payment_method_typecard, please pass instatement_descriptor_suffixor remove thestatement_descriptorparameter altogether. Please see https://support.stripe.com/questions/use-of-the-statement-descriptor-parameter-on-paymentintents-for-card-charges for additional details.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_e5SeD3VblAgUis?t=1733468310",
"type": "invalid_request_error"
}
}
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘“invalid_request_error” error occurs when using “Payment Element”’ is closed to new replies.