Reputation: 1652
I'm getting this error when creating new Paypal notification with active merchant
class PaymentNotificationsController < ApplicationController
include ActiveMerchant::Billing::Integrations
protect_from_forgery except: :create
def create
notify = Paypal::Notification.new(request.raw_post)
A OpenSSL::SSL::SSLError occurred in payment_notifications#create: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed /home/user/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/net/http.rb:918:in `connect'
Any suggestions?
Upvotes: 0
Views: 414
Reputation: 4443
Couple things:
make sure your certificates are up to date on your machine.
this has gotten me around this error before: https://github.com/stevegraham/certified
Good luck. Hope this helps.
Upvotes: 1