mpay_gateway 0.42 → 0.43

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,7 @@ class MpayConfirmationController < Spree::BaseController
31
31
  payment_method = PaymentMethod.where(:type => "BillingIntegration::Mpay").where(:environment => RAILS_ENV.to_s).first
32
32
 
33
33
  # TODO log the payment
34
- order.payments.create({
34
+ payment = order.payments.create({
35
35
  :amount => params["PRICE"],
36
36
  :payment_method_id => payment_method,
37
37
  :source => payment_details
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mpay_gateway
3
3
  version: !ruby/object:Gem::Version
4
- hash: 95
4
+ hash: 93
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 42
9
- version: "0.42"
8
+ - 43
9
+ version: "0.43"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Andreas Happe