Store charge id in database

Created on 21 December 2017, almost 8 years ago
Updated 18 August 2025, about 1 month ago

I'd like to store the Charge ID as an additional field on the Order type, but struggling to see how to approach this or even get the value. My thought was to take it from the response to \Stripe\Charge::create - but I can't find this anywhere. Am I missing something really obvious?

πŸ’¬ Support request
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom rudeboypeter

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024