Skip to content
Snippets Groups Projects
Commit 42688c08 authored by fw-bot's avatar fw-bot Committed by Damien Bouvy
Browse files

[FIX] payment_stripe_sca: include payment reference in dashboard


Makes it easier for users to match Odoo payments with information
from the Stripe dashboard.

closes odoo/odoo#39136

Signed-off-by: default avatarDamien Bouvy (dbo) <dbo@odoo.com>
parent 85dec37a
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,8 @@ class PaymentAcquirerStripeSCA(models.Model):
+ "?reference=%s" % tx_values["reference"],
"cancel_url": urls.url_join(base_url, StripeController._cancel_url)
+ "?reference=%s" % tx_values["reference"],
"customer_email": tx_values["partner_email"] or tx_values["billing_partner_email"],
"payment_intent_data[description]": tx_values["reference"],
"customer_email": tx_values.get("partner_email") or tx_values.get("billing_partner_email"),
}
tx_values["session_id"] = self._create_stripe_session(stripe_session_data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment