attach current user to order, to enable order tracking etc
This commit is contained in:
parent
bea73e2a0c
commit
12641a8110
|
@ -133,6 +133,8 @@ module Spree::PaypalExpress
|
|||
:txn_type => CreditcardTxn::TxnType::AUTHORIZE)
|
||||
payment.creditcard_txns << transaction
|
||||
|
||||
order.user = current_user
|
||||
|
||||
order.save!
|
||||
|
||||
order.complete # get return of status? throw of problems??? else weak go-ahead
|
||||
|
|
Loading…
Reference in New Issue