Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit 4ec29a0

Browse files
authored
Merge pull request #14 from stripe/bg-webhook-metadata
Add customer parameter to webhook charge creation
2 parents 95c705e + 2671add commit 4ec29a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ def authenticate!
139139
:amount => source.amount,
140140
:currency => source.currency,
141141
:source => source.id,
142+
:customer => source.metadata["customer"],
142143
:description => "Example Charge"
143144
)
144145
rescue Stripe::StripeError => e

0 commit comments

Comments
 (0)