Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gordon Saxby 1444 posts 1855 karma points
    May 06, 2021 @ 07:51
    Gordon Saxby
    0

    PayPal IPN config details

    Is the IPN setup for PayPal documented anywhere?

    We have a custom version of the PayPal payment provider (called PayPalCustom) and I want to check what the IPN address should be set to at the PayPal end.

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    May 06, 2021 @ 09:20
    Matt Brailsford
    0

    Hi Gordon,

    If you are wanting it to call through to your payment providers ProcessCallback method, generally the format should be

    https://[domain]/base/TC/PaymentCallbackWithoutOrderId/[storeId]/[paymentProviderAlias]/[paymentMethodId]
    

    Hope this helps

    Matt

  • Gordon Saxby 1444 posts 1855 karma points
    May 06, 2021 @ 09:32
    Gordon Saxby
    0

    Erm, how do I know which store it is?

    Maybe my question wasn't clear? What should go in PayPal - IPN Settings - Notification URL?

    Unfortunately, I don't have access to the PayPal account, but I've been told that the last successful transaction had a callback URL of

    https://[domain]/base/TC/PaymentCallback/1/PayPalCustom/[unique id].aspx
    

    However, the Notification URL had seemingly been set to

    https://[domain]/base/TC/PaymentCallback/PaypalCustom.aspx
    

    and the the account holder received an email (or a number of them?) saying "Messages sent to the following URL(s) aren't being received". The email(s) were ignored and it looks like PayPal then disabled IPN.

    So, I think the IPN cll back to our PayPalCustom was working, but PayPal checked the Notification URL, found it was invalid and disabled IPN. So, I need to know what to put in the Notification URL so that PayPal won't get upset and disable IPN again.

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    May 06, 2021 @ 09:40
    Matt Brailsford
    0

    Ahh, ok,

    This sounds like it might be a change in PayPal then. The IPN notification in the paypal portal at least used to be set to anything, then the paypal payment provider actually sends an alternative notify_url which is meant to override that hard coded notification URL.

    PayPal shouldn't be trying to notify the URL you have set in your portal, instead it should only be notifying the URLs that are passed to it when the payment details are passed to the gateway.

    Might be worth checking with PayPal to see if this behavior has changed.

    Matt

  • Gordon Saxby 1444 posts 1855 karma points
    May 06, 2021 @ 09:57
    Gordon Saxby
    0

    OK, I'll see what I can find out.

Please Sign in or register to post replies

Write your reply to:

Draft