ioBroker / AdapterRequests

This Place is used to track the status of new Adapter-Requests.
248 stars 36 forks source link

IPN -PayPal Adapter #839

Open 70s-man opened 1 year ago

70s-man commented 1 year ago

Paypal could send IPN (instant payment notification) Massages for received money. In this notification it has all information regarding the transmission. It would be nice to have the information of last payment useable in separate objects as a variable.

Date, Time, Amount, Name, Email, Status of transaction

The goal is to trigger events for my vending machine

The massage locks something like this: mc_gross=1.00&invoice=f3636242-86f0-4a4b-b04c-c01c071c1f68&protection_eligibility=Eligible&payer_id=7F6KY3A7DSP8N&payment_date=04%3A51%3A19+May+15%2C+2023+PDT&payment_status=Completed&charset=windows-1252&first_name=Lars&mc_fee=0.06&notify_version=3.9&custom=&payer_status=verified&business=tschmidt%web.de&quantity=1&verify_sign=A5fP8jrOzlLKf.6Ft1ifnRtmFQv-AWit06dXIEfsdyMRNJ0c7DU89V6t&payer_email=l.mueller %40gmx.de&txn_id=15N65621WX397992M&payment_type=instant&last_name=Schmidt&receiver_email=tschmidt%40web.de &payment_fee=&shipping_discount=0.00&receiver_id=JT2RV3FDYK6F7U&insurance_amount=0.00&txn_type=web_accept&item_name=&discount=0.00&mc_currency=EUR&item_number=&residence_country=DE&shipping_method=Default&transaction_subject=&payment_gross=&ipn_track_id=bc5b7f1c496da

Best Regards CS

https://developer.paypal.com/api/nvp-soap/ipn/IPNIntro/

DerDom commented 4 months ago

This would be awesome! Imagine a B&B site where a washing machine is activated following a Qrcode scan and payment approval from Paypal. As soon as the Paypal notification is arrived this info is taken into account and passed to the device which turns on and remain active to complete the washing cycle (2-3 hrs).

Same concept can be apply to Heating or Air Conditioners, Dishwashing and other stuff.