Find Jobs
Hire Freelancers

Paypal Webhook Listener

€8-30 EUR

Đã hoàn thành
Đã đăng vào hơn 4 năm trước

€8-30 EUR

Thanh toán khi bàn giao
Hi, for a Shop Solution I need a Webhook Listener who updates a database when a payment has been completed ([login to view URL]) <?php public IActionResult Webhook() { // The APIContext object can contain an optional override for the trusted certificate. var apiContext = [login to view URL](); // Get the received request's headers var requestheaders = [login to view URL]; // Get the received request's body var requestBody = [login to view URL]; using (var reader = new [login to view URL]([login to view URL])) { requestBody = [login to view URL](); } dynamic jsonBody = [login to view URL](requestBody); string webhookId = [login to view URL]; var ev = [login to view URL](apiContext, webhookId); // We have all the information the SDK needs, so perform the validation. // Note: at least on Sandbox environment this returns false. // var isValid = [login to view URL](apiContext, ToNameValueCollection(requestheaders), requestBody, webhookId); switch (ev.event_type) { case "[login to view URL]": $pdo = new PDO('mysql:host=localhost;dbname=xxxx', 'xxxxx', 'xxx', array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8")); $sql = $pdo->prepare("INSERT INTO wp_listening (info) VALUES ('hat funktioniert')"); $sql->execute(); break; case "[login to view URL]": $pdo = new PDO('mysql:host=localhost;dbname=xxxx', 'xxxx', 'xxxx', array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8")); $sql = $pdo->prepare("INSERT INTO wp_listening (info) VALUES (?)"); $sql->execute("hat nicht funktioniert"); break; // Handle other webhooks default: break; } return new HttpStatusCodeResult(200); } ?>
Mã dự án: 22144013

Về dự án

5 đề xuất
Dự án từ xa
Hoạt động 5 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
Greetings from Hexamaze Technologies! We went through the project regarding your requirement. We understood the requirements and your expectations. We are a Web and Mobile App development team from India and work worldwide. ❁ Our profile: [login to view URL] ❁ Technologies we are working: [login to view URL] ➦ We worked on many types of projects, I hope to discuss with you to make clear the requirements and point out the best method to develop the project. ➦ We can quickly deploy existing solutions that we have implemented for years at the most optimal cost. We have our experienced team that ensures you to finish the project on time with excellent quality. If you need additional information, please feel free to contact us. Thank you for your consideration. Looking forward to hearing from you. Thanks & Regards, Hexamaze Technologies
€18 EUR trong 1 ngày
5,0 (11 nhận xét)
2,9
2,9
5 freelancer chào giá trung bình €22 EUR cho công việc này
Avatar người dùng
⭐Dear client.⭐ I have read your project description carefully and I have understood clearly what you require. I have more than 15 years of experience in website development and meanwhile, I have mastered payment integration. If you allow me, I will put my energy and time into your project to satisfy you. Let's discuss the project in detail. Looking forward to hearing from you. Best regards.
€30 EUR trong 1 ngày
3,3 (3 nhận xét)
2,0
2,0

Về khách hàng

Cờ của AUSTRIA
Wien, Austria
5,0
26
Phương thức thanh toán đã xác thực
Thành viên từ thg 5 15, 2017

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.