E
E
evomed2020-09-16 07:26:28
PayPal
evomed, 2020-09-16 07:26:28

How do I get a notification to my site from someone else's PayPal?

A long time ago I saw a marketplace plugin for WordPress based on wookomers. If my memory serves me right, that was the case.
The sellers could indicate their paypal. And the platform received a notification after the payment that the order was paid.
I could be wrong, but I think so.
Question.
Can I receive a notification on my site, in fact, from someone else's payment transaction? I don't need a commission, etc. Only a notification, preferably by api, that the order has been paid.
I don't have wordpress or wokomers. I will write the functionality myself, if possible. If not, what is the best way to automate this? To avoid forcing people to manually reconcile payments.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
evomed, 2020-09-16
@evomed

Apparently this possibility was before and remained for old accounts
https://developer.paypal.com/docs/archive/adaptive...

D
Dimonchik, 2020-09-16
@dimonchik2013

without access to someone else's account - no ,
either they will register an IPN URL ,
or even add a user with view-only rights to their account and you will go to them

B
boss_lexa, 2020-09-17
@boss_lexa

add the notify_url parameter when generating a paypal payment request and implement an IPN notification handler using this URL.
You can generate a link like this - substitute your seller email instead of [email protected] and url instead of https://test.com/notify

https://www.paypal.com/cgi-bin/websc?cmd=_xclick&charset=utf-8&currency_code=RUB&[email protected]&amount=1000&item_name=1&no_shipping=1&notify_url=https://test.com/notify

https://developer.paypal.com/docs/api-basics/notif...
https://developer.paypal.com/docs/paypal-payments-...
https://developer.paypal.com/docs /api-basics/notif...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question