mirror of
https://github.com/myronblair/tomsjavajive
synced 2026-06-30 17:50:32 -05:00
Fix webhook: add checkout.session.completed; propagate metadata to payment intent
This commit is contained in:
@@ -121,6 +121,7 @@ class StripeAPI {
|
||||
if (!empty($options['metadata'])) {
|
||||
foreach ($options['metadata'] as $key => $value) {
|
||||
$data["metadata[$key]"] = $value;
|
||||
$data["payment_intent_data[metadata][$key]"] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user