百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
I

ipn-code-samples

> 编程语言
开源

PayPal IPN 代码示例 此仓库包含多种语言的示例,用于验证 PayPal IPN 消息。请注意,本文档仅供参考,不构成 PayPal 服务的正式文档。

563 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

PayPal IPN 代码示例 此仓库包含多种语言的示例,用于验证 PayPal IPN 消息。请注意,本文档仅供参考,不构成 PayPal 服务的正式文档。

PayPal IPN Code Samples

This repository contains samples in multiple languages for validating PayPal IPN messages.

Please Note

The Payment Card Industry (PCI) Council has mandated that early versions of TLS be retired from service. All organizations that handle credit card information are required to comply with this standard. As part of this obligation, PayPal is updating its services to require TLS 1.2 for all HTTPS connections. At this time, PayPal will also require HTTP/1.1 for all connections. Click here for more information

IPN Overview

  • PayPal Instant Payment Notification is a call back system that will get initiated once a transaction is completed (e.g. when an express checkout completed successfully).
  • You will receive the transaction-related IPN variables on your IPN url that you have specified in your request, otherwise it will default to the IPN url set in your PayPal account.
  • You must send these IPN variables back to PayPal servers for verification. Upon verification, PayPal will send a response string with "VERIFIED" or "INVALID".
  • If your server fails to respond with a successful HTTP response (200), PayPal will resend this IPN either until a success is received or up to 16 times.
  • If your server consistently fails to respond, your IPN may be disabled, in which case you will receive an notification on your primary paypal email address.

How to run these samples

  • IPN Listener script samples are provided for different languages.
  • Deploy IPN Listener script in a cloud environment or you can expose your server port using any third party local tunneling software, so that you can receive PayPal IPN callback.

Testing with the sandbox

Please note that calls from the PayPal IPN Simulator cannot be validated.
You must create a PayPal sandbox account. IPN calls from the sandbox after a test transaction is performed will be validated providing you set your IPN validation endpoint to the sandbox URL.

License

Read License for more licensing information.

Contributing

Read here for more information.

More help

  • IPN overview
  • Getting started guide
  • PayPal IPN Simulator

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHP

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言