Alipay
ステップ1。 準備
You need a merchant account at Alipay Open Platform.
Alipayにアクセスする前に、いくつかの準備が必要です。
See preparation before access.
1.1 APPIDを取得する
Alipayオープンプラットフォームコンソールにログインし、アプリケーションを作成する。
APPIDの取得方法: Alipay APPID照会ガイド
1.2 Certを設定する
Generate an RSA2 certificate per the Alipay doc to obtain appPrivateKey.txt and appPublicKey.txt.
Upload the certificate to the application and download three files: alipayRootCert.crt, appCertPublicKey.crt, alipayCertPublicKey.crt.
Create a Cert named App Cert in Casdoor:
| Casdoor | Value |
|---|---|
| Type | Payment (x509) |
| Certificate | appCertPublicKey.crtの内容 |
| Private key | appPrivateKey.txtの内容 |

Create a Cert named Root Cert in Casdoor:
| Casdoor | Value |
|---|---|
| Type | Payment (x509) |
| Certificate | alipayCertPublicKey.crtの内容 |
| Private key | alipayRootCert.crtの内容 |
