diff options
author | luca-landa <lucalanda@hotmail.it> | 2021-02-05 15:28:14 +0100 |
---|---|---|
committer | luca-landa <lucalanda@hotmail.it> | 2021-02-19 13:53:36 +0100 |
commit | 7c0689d1e7b95912e4b3ac1e717b2f0445157409 (patch) | |
tree | 1e0a13c238163f2ee8ad5eec75f2127aca48191b /lib/solidus_subscriptions/subscription_generator.rb | |
parent | e526705dcbccf1255ea4b4646a6aabededf08fc7 (diff) |
Add currency to subscription
Diffstat (limited to 'lib/solidus_subscriptions/subscription_generator.rb')
-rw-r--r-- | lib/solidus_subscriptions/subscription_generator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/solidus_subscriptions/subscription_generator.rb b/lib/solidus_subscriptions/subscription_generator.rb index 8153912..4f675a7 100644 --- a/lib/solidus_subscriptions/subscription_generator.rb +++ b/lib/solidus_subscriptions/subscription_generator.rb @@ -29,6 +29,7 @@ module SolidusSubscriptions billing_address: order.bill_address, payment_source: order.payments.valid.last&.payment_source, payment_method: order.payments.valid.last&.payment_method, + currency: order.currency, **configuration.to_h } |