adamthedeveloper/wepay-rails — Issue #3: Missing Wepay::CheckoutController ALSO Added extra security to IPN listener
Author: adamthedeveloper
Created: 2011-11-29 20:50:53+00:00
State: open

A file was missing from the gem - namely the app/controllers/wepay/checkout_controller.rb file. I added it in.

I also wanted to add an additional security check to the IPN and checkout controller - if you are using a version prior to 2.2.0, and you want to use the latest version, you will need to add a migration to your rails app to add a security_token column to wepay_checkout_records. Create a migration and add this line:

add_column :wepay_checkout_records, :security_token, :string

New installs of version 2.2.0 will already have this column since I added the additional column to the migration template.

Please let me know if you run into problems and I will help out.