So I know that you can set a notification URL through the client area, and I also know that you need to enable the notification feature.
However, I need to set the notification URL when I generate the request, how can I do that?
I turned over the PayPal documentation and found a few quotes that talked about such a possibility, however, at no point did they explain clearly how to do it.
The page with more details that I found was this (at the end): link
With this, I did the following (it's just a piece of code):
$nvp['PAYMENTREQUEST_0_CURRENCYCODE'] = $responseNvp['PAYMENTREQUEST_0_CURRENCYCODE'];
$nvp['SUBJECT'] = $responseNvp['SUBJECT'];
$nvp['METHOD'] = 'DoExpressCheckoutPayment';
$nvp['NOTIFYURL'] = 'https://dashboard-clayderson.c9users.io/notify-url.php';
$nvp['PAYMENTREQUEST_0_PAYMENTACTION'] = 'SALE';
It did not work.
I also tried SetExpressCheckout and it did not work. Can you give me a light?
Detail: can not be a problem on the page that will receive the notification, because right away on the first line I caused it to write to a .txt file every page access, not had none, in addition, I used the IPN Simulator and managed to capture the data perfectly.