Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-on ESP32 with Arduino IDE

You're reading from   Hands-on ESP32 with Arduino IDE Unleash the power of IoT with ESP32 and build exciting projects with this practical guide

Arrow left icon
Product type Paperback
Published in Jan 2024
Publisher Packt
ISBN-13 9781837638031
Length 294 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Asim Zulfiqar Asim Zulfiqar
Author Profile Icon Asim Zulfiqar
Asim Zulfiqar
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Part 1 – Introduction: Getting Familiar with ESP32
2. Chapter 1: IoT with ESP32 using Arduino IDE FREE CHAPTER 3. Chapter 2: Connecting Sensors and Actuators with ESP32 4. Chapter 3: Interfacing Cameras and Displays with ESP32 5. Part 2 – IoT Protocols and ESP32
6. Chapter 4: Implementing Network-Based Protocols with ESP32 7. Chapter 5: Choosing the Right Data-Based Protocols for Your ESP32 Projects 8. Part 3 – Practical Implementation
9. Chapter 6: Project 1 – Smart Plant Monitoring System Using ESP32, Messaging Services, and the Twitter API 10. Chapter 7: Project 2 – Rent Out Your Parking Space 11. Chapter 8: Project 3 – Logging, Monitoring, and Controlling using ESP32 12. Chapter 9: From Arduino IDE to Advanced IoT Development – Taking the Next Steps 13. Index 14. Other Books You May Enjoy

Integrating the PayPal API

In this section, we will set up the Webhooks that will enable us to receive a notification related to the payment in the ESP32. To set up the Webhooks, we will complete the following steps:

  1. Firstly, we will go to https://www.webhook.site and get a unique URL, as highlighted in the following figure:
Figure 7.4 – A unique URL on Webhook.site

Figure 7.4 – A unique URL on Webhook.site

  1. Then, to test our Webhook, we will use the PayPal Instant Payment Notification (IPN) simulator. It will help us to simulate the payment notification for testing. To access the IPN simulator, go to https://developer.paypal.com/dashboard/ipnsimulator using your web browser.
  2. Paste the unique URL into the IPL URL handler, and select Web Accept as the transaction type.
Figure 7.5 – The PayPal IPN simulator

Figure 7.5 – The PayPal IPN simulator

  1. For testing, leave all other values to default, and then go to the bottom of the page and click on Send IPN.
...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image