Does PayFlow link silent post works with refund ?
I have configured silent post in Paypal manager settings. It is working fine with checkout (sale).
When I am making a refund request to pay-flow Link, the response is being redirected to main web site instead of redirecting to configured silent post URL.
Is there any way I can redirect refund request to the configured URL ?
No the silent post is not applicable to refunds . It only applies to the one time payment done via the hosted checkout pages .
And at the same time, for refunds you don't even have to do any redirection. It's a one step process where you will send the post data to the PayPal to do the refund .
Related
I'm working on a website where a user can pay for products to another user, the user that is getting paid has his API Signature set and the payment is accomplished using ExpressCheckout (NVP) (the payer just gets redirected to a PayPal page where he logs in if necessary and just clicks a button to pay).
The problem is I tried using webhooks to track refunds for these payments, so I can later insert the refund data into my database via callback URL (php function), but the URL I've set doesn't get called at all(I've previously simulated an event on the same URL and everything was fine).
I am trying to get this to work by setting my API Signature and a friend of mine paying me some cents(via DoExpressCheckoutPayment) after which I refund them to him (no calls, only using the PayPal website).
Also nothing appears on the Sandbox Webhooks Events page or the Live one. I've tried registering other events like "Payment capture completed" or "Payment sale completed" to my webhook but with the same result.
Do I have to change some settings in my account? I've created a REST API app in order to use webhooks, but I've seen there's an option for NVP/SOAP API apps. I have considered IPN if webhooks don't work.
"Webhooks" are used with the REST API. Express Checkout uses IPN.
You'll need to setup a separate listener for IPN similar to what you've done with webhooks on the REST API.
how to do refund paypal amount using URL.
we not like to take any username and password from user that why we not expected to use any API.
we are expecting to build URL and user will click on that link and payapl take all refund responsibility and send us IPN message same flow the way donation button works..
we are able to take donation using below url.
https://www.sandbox.paypal.com/cgi-bin/webscr?amount=10.00&bn=test&business=XXXX#.com&charset=utf-8&cmd=_donations¤cy_code=USD&email=XWXXX#gmail.com&invoice=189&item_name=Production+move&no_shipping=1¬ify_url=http%3A%2F%2Flocalhost%3A3000%2Fpaypal_ipns&return=http%3A%2F%2Flocalhost%3A3000%2Fthank-you%3Fdid%3DMTg5
iS their any way to build refund url?
we not able to found any source to build refund URL can some one help us....
There's no way to implement an URL like this without APIs, also, refund is not supposed to be a "self-service" for the payers, as any funding reversal should be initialed/authoried by your account, either from website backend (with API) or in the transaction dashboard of your PP account
Does PayPal provides IPN response during sandbox usage? I create no payment via NVP call, redirect to PayPal site, login, "pay" (in sandbox mode) and go to the return page which I set in my payment call. But there is no ping from PayPal to my IPN address :(
Should it work in sandbox, or users are able to test IPN responses only in production mode?
Thanks for help.
Propably found the solution. I passed in my PayPal URL useraction=commit parameter. When I removed it, and used doexpressCheckoutPayment, everything works fine ...
Payflow supports a Silent Post URL, which is a page that will be notified upon completion of a successful transaction (payment, refund, etc...). The Silent Post URL can be configured via the PayPal manager.
Most similar payment systems implement the notion of a "post back" where the receiving software can post back the results to make sure that the transaction information is legitimate and not originating from a hacker. Payflow doesn't appear to support a post back and the Payflow Pro documentation doesn't mention any other way of verifying the transaction data received at the Silent Post URL.
All valid PayPal notifications originate from 173.0.81.65. Simply ignore any notifications that don't come from this IP.
The answer is hidden away in the depths of the PayPal knowledge base: https://ppmts.custhelp.com/app/answers/detail/a_id/445. More information can also be found at https://ppmts.custhelp.com/app/answers/detail/a_id/883/kw/payflow%20ip%20address
I have choosed different approach, by passing authentication token within my request to PayPal, which I validate after receiving POST request
Hi
I have paypal express checkout working on my site, when user buys something the transaction goes through and the merchant is able to capture payment by clicking on the capture button on the sandbox site. Problem is that I need 'capture status' returned to the site as I need to store it in database for future use, is there a way that paypal sends some notification whenever the payment is captured by the merchant.
Thanks
PayPal IPN: https://www.paypal.com/ipn
In short, include NOTIFYURL in your SetExpressCheckout and DoExpresscheckoutPayment call and you'll receive a POST on that URL when the transaction has been captured. Look for 'PAYMENTSTATUS', as that should read 'Complete'.
Don't forget to validate the POST by sending it back to https://www.paypal.com/cgi-bin/webscr?cmd=_notify-validate and checking for a VERIFIED / INVALID response.