Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Issue with the ipn notification with Active Paypal Adaptive Payment

View gist:8acceeee72fe12312c09
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# I've been trying to get the notification back from the ipn_notification but its not working. My payment is working properly and is # functional. I am having trouble with the IPN. I would like to retrieve the information of the payment toward the app.
def checkout
response = @gateway.setup_purchase(
:return_url => "http://localhost:3000",
:cancel_url => "http://localhost:3000",
:ipn_notification_url => orders_notify_action_url,
:receiver_list => recipients
redirect_to (@gateway.redirect_url_for(response["payKey"]))
def notify_action
notify =
p "Notification object is #{notify}"
if notify.acknowledge
p "Transaction ID is #{notify.transaction_id}"
p "Notification object is #{notify}"
p "Notification status is #{notify.status}"
render :nothing => true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.