paypal-express gem

64 views
Skip to first unread message

Saravanan P

unread,
May 10, 2013, 3:03:41 AM5/10/13
to rubyonra...@googlegroups.com
Hello everyone

I am using paypal-express gem for Payapl payment.
I am using reference transaction method to get money from Paypal.
But i am getting IPN i.e payment notification,

I mentioned like

payment_request = Paypal::Payment::Request.new(
          :currency_code => :USD,
          :amount        => 10.00,
          :billing_type  => :MerchantInitiatedBilling,
          :description   => "test",
          :custom        => 'test',
          :invoice       => 2,
          :notify_url    => payment_notifications_url,
          :billing_agreement_description => "
)

but i am not getting any notification on "payment_notifications_url" this path.

Anyone experience with this?

Thank you!

Saravanan P

unread,
May 12, 2013, 7:03:54 AM5/12/13
to rubyonra...@googlegroups.com
Hello Doug

Thanks for the reply.
I was tested in staging only, but I didn't get any IPN from Paypal.
And also I can't able to pass custom values like "custom" and "invoice" fields but we can pass this fields to Paypal and get its from Paypal payment_request details but that too not working. "description" field only i can able to pass and get "description" value from Paypal payment_request method.


On Sat, May 11, 2013 at 2:59 AM, Doug <dou...@gmail.com> wrote:
Saravanan,

are you on localhost?  if so, paypal can't contact your local computer.  try putting it up on a staging environment, or at least a free heroku instance, then use paypal's IPN simulator.


Also, if you're not using sandbox accounts, you should for testing purposes.  Sign up and create some accounts at developer.paypal.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/vYp0rTVxMRIJ.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Best Regards,
Saravanan P

ROR Web Developer
Reply all
Reply to author
Forward
0 new messages