what is the equivalent of notify_url in Adaptive payments. Anyone who knows this please i know already return and cancel url my problem is the notify url in adaptive payments.
From the Developer Guide:
ipnNotificationUrl xs:string (Optional) The URL to which you want all IPN messages for this payment to be sent. Maximum length: 1024 characters
Related
Is it possible to receive the same IPN at multiple endpoints? I can pass a NOTIFY_URL e.g. for ExpressCheckout, but I may also setup an URL in my PayPal account. Will IPNs be send to both? Only one? Which one has preference?
If you have IPN configured in your PayPal account profile that will act as a default catch-all. If you then set an IPN URL via the NotifyURL parameter of payment requests that would override the value set in your profile.
If you need to have IPN data sent to more than one IPN URL with a single transaction you can daisy-chain the IPN scripts. PayPal would send the IPN to your URL, which could then forward that IPN data on to as many secondary URL's as you need to.
If my Paypal account does not have the IPN URL enabled, will it still be possible to receive POST data from Paypal if I use the notify_url
If the IPN is not enabled for the account and I set the notify_url, will I receive anything?
Yes, you will receive IPN.
notify_url will keep sending IPN notifications when used.
Yes, it will currently work on a PayPal account where the "global" IPN URL has never been set/enabled or where it is currently set/enabled. However, if you disable a previously enabled PayPal global IPN URL, any buttons with notify_url will stop working even if they worked before (they actually get queued in the IPN message queue but not sent like they used to). My conclusion is that the first time you enable the global IPN URL, PayPal initializes the IPN message logger/queue for your account. From there, there is no way to get back to the original behavior that I can find. On the bright side, this same logger/queue makes it really easy to inspect and troubleshoot (and even re-send) IPN messages...
Assuming you mean no IPN URL defined at PayPal, yes, provided you have IPN enabled.
You can supply the notify_url yourself in the per-button form data.
I'm using the PayPal Merchant-SDK to send MassPay items. I need to listen for IPN messages returned from PayPal.
I've specified the URL in sdk_config.properties with:
service.IPNEndpoint=" ... "
but the URL is not appearing in the requests that are generated.
I've also noticed that the MassPay schema doesn't have a notify-url element as seems to be the case for other payment types such as "DoExpressCheckoutPayment".
Does anyone know what I may be missing?
Thanks.
The only way that you can set the IPN URL for MassPay would be to set it in your account. You can't set it in the code. It needs to be set in your PayPal account, under your profile.
Our shop can handle IPNs (Instant Payment Notification) for regular payments.
We offer donations over paypal too, but can't handle this IPNs, because we don't keep track of the donations on the shop side. And don't want to atm.
Is it possible to deactive IPN for e.g. donations or do we need to create a seperate paypal account for this?
Thanks for any advice.
Set a notify_url for your donation going to a different location than your regular IPN script.
As long as that location answers it with a HTTP 200 OK, it's fine for PayPal.
So essentially you'd have:
- Your store setting a proper notify_url for each transaction
OR
- An IPN URL set up on your PayPal Profile
AND
- A specific custom notify_url for donations. This can be a plain .html or .txt file.*
This would work because notify_url overrides whatever is set up on your PayPal Profile.
i think you can't desable paypal IPN for the specific payment
but, you can separate donation and other payment using different invoice-id
if if payment made by donation you can prefix any keyword on Invoide-id like donation-001
it is a simple and best method you can try..
Can we assume that the payment is completed for a transaction when the customer is auto returned to our site?
Paypal advices us to use their IPN system for other types of payment, like an e-check, but also tells us to tell the customer something along the lines of "Thank you for your payment. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account at www.paypal.com/ca to view details of this transaction."
What are the downfalls of not using IPN, and just assuming the payment is completed when paypal auto-returns users to our site?
Thanks!
Relying solely on the return url is a pretty bad idea. It would be easy for a bad guy to skip payment and just visit your return url to complete the order.
There is a pretty comprehensive article about this here
No.
However, using the Auto Return option in your Paypal account in conjunction with Payment Data Transfer (Profile/My Selling Tools/Website preferences/Website Payment Preferences) will give you payment confirmation data in the URL you use for Auto Return, for example:
www.yourReturnURL.com?tx=9XV61416UY0043254&st=Completed&amt=9%2e00&cc=USD&cm= 9601&item_number=2
You need to verify this data (anyone could send a fake request) by sending the payment reference ("tx" parameter above) back to Paypal and waiting for a VERIFIED response.
This last step is identical as the one you take for the IPN (Instant Payment Notification) implementation.
With PDT you get the notification instantly. PDT has a a major weakness: it sends order confirmations once and only once. As a result, when PDT sends a confirmation, your site must be running; otherwise, it will never receive the message.
With IPN, in contrast, delivery of order confirmations is virtually guaranteed since IPN resends a confirmation until your site acknowledges receipt. For this reason, PayPal recommends that you implement IPN rather than PDT.
Note: If your site must be notified of payments immediately, you can implement both IPN and PDT.
More info here: https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNPDTAnAlternativetoIPN/