Tutorial for Accessing to Stripe
Ucloud 云平台提供接入不同类型的支付平台,例如微信,支付宝,谷歌等。本文旨在介绍接入Stripe支付平台的相关操作步骤。如果有相关需求,本文档可做参考。
The UCloud global platform provides access to different types of payment platforms,such as WeChat, Alipay,
Google and so on. This article aims to introduce the relevant steps for accessing Stripe payment platform.This
document is for reference only if there is a corresponding demand.
Stripe官方网站:https://stripe.com/test/dashboard
Stripe参考文档:https://docs.stripe.com
最终提供以下参数给优刻得:
The following parameters are ultimately provided to UCloud:
No. | Required parameters 提供的参数 | Example 示例 | Note 备注 |
1 | Secret key 私钥 | sk_****** | Required; Accurate 必须提供;准确 |
2 | Publishable key 公钥 | pk_****** | Required; Accurate 必须提供;准确 |
3 | endpoint_secret | You need to enter the asynchronous notification address provided by us to get this value 需要填入我们提供的异步通知地址,才会获取到该值 | Required; Accurate 必须提供;准确 |
1. 注册并登陆Stripe账号,点击开发人员➡️API密钥获取公私钥
Register and log in to your Stripe account. Click Developers ➡️ API keys to get Secret key and Publishable key
2. 异步通知地址和endpoint_secret ;配置完成会出现,可以复制,详见第8步。
Asynchronous notification address and endpoint_secret (after the configuration is complete, it will be appeared in
Step 8 and it can be copied)
3. 导航至Webhooks页面
Open the Webhooks tab in Workbench.
4. 点击创建新的目的地端点
Click Create new destination
5. 选择您要使用的事件对象的API版本。
Select the API version for the events object you want to consume.
如果您正在使用连接账户,您可以倾听已连接账户的事件。否则,请选择您账户上的事件。
If you’re using Connect, you can listen for Events on connected accounts. Otherwise, choose Events on your account.
选择您要发送到目的地的事件类型,然后点击继续。请准确选中下图中的四个事件。
Select the event types that you want to send to the destination, then click Continue. Please select accurately the four events in the picture below.
6. 填写提供的端点URL,并点击创建目标,创建您的webhook端点。
Provide the Endpoint URL for Stripe to send webhooks to and an optional description for the endpoint. Click Create destination to create your webhook endpoint.
7. 配置完成后,可以看见端点在使用中。
After the configuration is complete, you can see that the endpoints is in active.
8. 配置完成后,可以看见Signing secret,点击显示,并复制。
After the configuration is complete, you can see the Signing secret, click the Reveal to copy it.
Browse At Random.
- 2025-03-05Tutorial for Accessing to Stripe
- 2025-01-17Tutorial for UFS
- 2025-01-15Tutorials for Enabling UCloud Data Ark
- 2025-03-05Data Disk Backup for UCloud's UHost
- 2025-01-17Tutorial for US3 Mounting on UHost