Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

hopewise's Profile

GitHub User: hopewise

Site: www.dcaclab.com

Comments by

Avatar

Yes, that's right, so it will be used for both sandbox and production environment ?

Avatar

I found the solution, I have to send the same data sent at checkout, in the create_recurring_profile

Avatar

When I submit the form of new subscription, I get this error:

RuntimeError in SubscriptionsController#create

[{:code=>"11581", :messages=>["Invalid Data", "Profile description is invalid"]}]

Application Trace | Framework Trace | Full Trace
app/models/paypal_payment.rb:46:in process'
app/models/paypal_payment.rb:18:in
make_recurring'
app/models/subscription.rb:26:in save_with_paypal_payment'
app/models/subscription.rb:14:in
save_with_payment'
app/controllers/subscriptions_controller.rb:18:in `create'

Can any one help please ?