
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@mpetro/paysdk
Advanced tools
支付SDK JS版
支持:快应用,银联小程序支付,对外输出支付
InitPay描述:初始化支付功能。
参数:
param (对象)
baseType (字符串,可选):基础类型,默认为 "prd"。baseUrl (字符串,必填):基础URL。token (字符串,必填):令牌。clientCode (字符串,必填):客户端代码。返回:
ExitPay描述:退出支付功能。
返回:
CheckStatus描述:检测支付初始化状态。
返回:
GetRposUnPayList描述:查询待支付的订单列表。
参数:
params (对象):查询参数。返回:
RposPay描述:执行账户室内支付。
参数:
params (对象):支付参数,包括支付订单号、订单金额等。
accountInstance (对象):账户插件实例。
返回:
FAQs
支付SDK JS版
The npm package @mpetro/paysdk receives a total of 22 weekly downloads. As such, @mpetro/paysdk popularity was classified as not popular.
We found that @mpetro/paysdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.