Aw: Stripe Error Token
le chiavi sono corrette, non ci sono spazi o altro.
Sto usando l'ambiente TEST di STRIPE, non so se questo è un problema. Grazie per la risposta
questi i log su stripe, ho provato adesso a concludere un pagamento:
POST /v1/customers
Stato
200 OK
ID
req_vcsknbaqxLBzz4
Orario
17/02/22, 11:51:43
Indirizzo IP
81.31.151.4
Versione API
2020-03-02
Origine
Stripe/v1 PhpBindings/7.27.3
Idempotenza
Chiave — 6202087e-36a2-4ace-bcee-d8116d9ad90a
Corpo risposta
{
"id": "cus_LASVlMlloQ7AcL",
"object": "customer",
"address": null,
"balance": 0,
"created": 1645095103,
"currency": null,
"default_source": null,
"delinquent": false,
"description": null,
"discount": null,
"email": null,
"invoice_prefix": "6A0959D1",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null
},
"livemode": false,
"metadata": {
},
"name": null,
"phone": null,
"preferred_locales": [
],
"shipping": null,
"sources": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_LASVlMlloQ7AcL/sources"
},
"subscriptions": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_LASVlMlloQ7AcL/subscriptions"
},
"tax_exempt": "none",
"tax_ids": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_LASVlMlloQ7AcL/tax_ids"
}
}
POST /v1/setup_intents
Stato
200 OK
ID
req_MQ9gu1S3jnc4IH
Orario
17/02/22, 11:51:44
Indirizzo IP
81.31.151.4
Versione API
2020-03-02
Origine
Stripe/v1 PhpBindings/7.27.3
Idempotenza
Chiave — 76595bdb-24ba-4152-a3bb-80fa9550f317
Corpo risposta
{
"id": "seti_1KU7aOEI6CTxJnqUWU1c027B",
"object": "setup_intent",
"application": null,
"cancellation_reason": null,
"client_secret": "seti_1KU7aOEI6CTxJnqUWU1c027B_secret_LASV3IV8FfavA6kWwMMcgMbgMZJiz6n",
"created": 1645095104,
"customer": "cus_LASVlMlloQ7AcL",
"description": null,
"last_setup_error": null,
"latest_attempt": null,
"livemode": false,
"mandate": null,
"metadata": {
},
"next_action": null,
"on_behalf_of": null,
"payment_method": null,
"payment_method_options": {
"card": {
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"single_use_mandate": null,
"status": "requires_payment_method",
"usage": "off_session"
}
Corpo POST richiesta
{
"customer": "cus_LASVlMlloQ7AcL"
}
POST /v1/customers
Stato
200 OK
ID
req_LUjCRatgC39DjV
Orario
17/02/22, 11:52:08
Indirizzo IP
81.31.151.4
Versione API
2020-03-02
Origine
Stripe/v1 PhpBindings/7.27.3
Idempotenza
Chiave — e755126a-c6c8-4224-b6ce-a33f215d8863
Corpo risposta
{
"id": "cus_LASVSCXU0OH4kd",
"object": "customer",
"address": null,
"balance": 0,
"created": 1645095128,
"currency": null,
"default_source": null,
"delinquent": false,
"description": null,
"discount": null,
"email": null,
"invoice_prefix": "E129DC78",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null
},
"livemode": false,
"metadata": {
},
"name": null,
"phone": null,
"preferred_locales": [
],
"shipping": null,
"sources": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_LASVSCXU0OH4kd/sources"
},
"subscriptions": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_LASVSCXU0OH4kd/subscriptions"
},
"tax_exempt": "none",
"tax_ids": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_LASVSCXU0OH4kd/tax_ids"
}
}
POST /v1/setup_intents
Stato
200 OK
ID
req_UCueXPEOELlSIQ
Orario
17/02/22, 11:52:09
Indirizzo IP
81.31.151.4
Versione API
2020-03-02
Origine
Stripe/v1 PhpBindings/7.27.3
Idempotenza
Chiave — 7515675c-0568-4015-af77-c80ddb89c221
Corpo risposta
{
"id": "seti_1KU7anEI6CTxJnqUaMWXdVoS",
"object": "setup_intent",
"application": null,
"cancellation_reason": null,
"client_secret": "seti_1KU7anEI6CTxJnqUaMWXdVoS_secret_LASVOA0MSewpDQ0BIHMhFjc3aVid7T2",
"created": 1645095129,
"customer": "cus_LASVSCXU0OH4kd",
"description": null,
"last_setup_error": null,
"latest_attempt": null,
"livemode": false,
"mandate": null,
"metadata": {
},
"next_action": null,
"on_behalf_of": null,
"payment_method": null,
"payment_method_options": {
"card": {
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"single_use_mandate": null,
"status": "requires_payment_method",
"usage": "off_session"
}
Corpo POST richiesta
{
"customer": "cus_LASVSCXU0OH4kd"
}
Su joomshopping sempre "Error Token."
https://www.bevisrl.com