Home › Forums › Stripe Payments Plugin › Subscription update seems to give wrong description to single paymen › Reply To: Subscription update seems to give wrong description to single paymen
Hi, I used the test version and made a few test requests, trying both with and without a short description for the product (which is a normal separate, single product yes): Still incorrect, and at the same time I also realized that it affects (single) payments coming to the API from another application (ie. not from WordPress). That seems more than surprising, so now I am thinking of invoking Stripe support.
Subscription update payments (also from the other app) are coming through correctly btw. And interestingly, those don’t update that “wrong” description (see below) that is being used, this one is just stuck.
In the object you see a mix of the correct description (Summit – Hawaii In-Person Option) and the incorrect description (Summit – Payment Plan 3 (4x USD 277.50) (2 of 0))
{
"id": "",
"object": "payment_intent",
"last_payment_error": null,
"livemode": false,
"next_action": null,
"status": "succeeded",
"amount": 33300,
"amount_capturable": 0,
"amount_received": 33300,
"application": null,
"application_fee_amount": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"charges": {
"object": "list",
"data": [
{
"id": "",
"object": "charge",
"amount": 33300,
"amount_captured": 33300,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "",
"billing_details": {
"address": {
"city": "",
"country": "AT",
"line1": "",
"line2": null,
"postal_code": "1234",
"state": ""
},
"email": null,
"name": "",
"phone": null
},
"calculated_statement_descriptor": "ASCENSION ONE",
"captured": true,
"created": 1612861937,
"currency": "usd",
"customer": "",
"description": "Summit – Payment Plan 3 (4x USD 277.50) (2 of 0)",
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {
},
"invoice": null,
"livemode": false,
"metadata": {
"Product Name": "Summit - Hawaii In-Person Option",
"Product ID": "20523"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 25,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "",
"payment_method": "",
"payment_method_details": {
"card": {
"brand": "visa",
"checks": {
"address_line1_check": "pass",
"address_postal_code_check": "pass",
"cvc_check": "pass"
},
"country": "US",
"exp_month": 4,
"exp_year": 2022,
"fingerprint": "",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
"type": "card"
},
"receipt_email": "",
"receipt_number": null,
"receipt_url": "",
"refunded": false,
"refunds": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": ""
},
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
],
"has_more": false,
"total_count": 1,
"url": ""
},
"client_secret": "",
"confirmation_method": "manual",
"created": 1612861934,
"currency": "usd",
"customer": "",
"description": "Summit – Payment Plan 3 (4x USD 277.50) (2 of 0)",
"invoice": null,
"metadata": {
"Product Name": "Summit - Hawaii In-Person Option",
"Product ID": "20523"
},
"on_behalf_of": null,
"payment_method": "",
"payment_method_options": {
"card": {
"installments": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"receipt_email": "",
"review": null,
"setup_future_usage": "off_session",
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"transfer_data": null,
"transfer_group": null
}
(Ids and personal data are removed from the object.)