spree/spree_paypal_express — Issue #28: Payment captured/authorized but order does not move into complete state
Author: zecke
Created: 2011-12-12 22:38:44+00:00
State: open

0.) Prepare a product with one item on-hand, disable backorders
1.) Prepare two orders and move them to the payment page
2.) complete one order...

3.) complete the other order
3.1) The payment will be captured/authorized
3.2)
#need to force checkout to complete state
until @order.state == "complete"
if @order.next!
@order.update!

fails because backorders are disabled, payment is already captured though, no normal user feedback is provided...