You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.
I am on the edge of Spree's 1-0-stable branch and a customer just got this error when returning from PayPal:
A StateMachine::InvalidTransition occurred in checkout#paypal_confirm:
Cannot transition state via :next from "payment" (Reason(s): Transition halted)
state_machine (1.1.1) lib/state_machine/event.rb:241:in `block in add_actions'
I can confirm that this was caused by bumping my version of Spree 1.0 from 33035d8bff158a2a18b43806a27accf590d23f16 (where a PayPal checkout works) to 0760b901247f0bf8839a69a620a0d31d8afc9aef
In order to reproduce, I had to add attr_accessible to the 1-0-stable branch. I have a pull request to fix that separate issue: #69
Here are the steps:
Setup Spree store using Spree ref: 0760b901247f0bf8839a69a620a0d31d8afc9aef
Add gem spree_paypal_express, branch: 1-0-stable
You will need a PayPal Developer Account to create a test Business Account.
In Development Server, as admin on /admin/payment_methods, create a Spree::BillingIntegration::PaypalExpress with the following options: Environment => 'Development', Display => 'Both', Active => 'Yes', Fill in Login, Password and Signature with test developer account information. Server => 'test', Test Mode => checked; [I also have Review unchecked and "No Shipping" Checked]. Click update.
Create an order with one product.
Proceed through checkout to payment and choose PayPal.
Go to PayPal and fill in information. Confirm payment.
I am on the edge of Spree's 1-0-stable branch and a customer just got this error when returning from PayPal:
The backtrace is:
The text was updated successfully, but these errors were encountered: