File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ from alipay.utils import AliPayConfig
7
7
# Making sure your key file is adhered to standards.
8
8
# you may find examples at tests/certs/ali/ali_private_key.pem
9
9
app_private_key_string = open (" yourPrivateKey.key" ).read()
10
- alipay_public_key_string = open (" alipayPublicCert.crt " ).read()
10
+ alipay_public_key_string = open (" alipayPublicCert.pem " ).read()
11
11
12
12
alipay = AliPay(
13
13
appid = " " ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ from alipay.utils import AliPayConfig
7
7
# 支付宝网页下载的证书不能直接被使用,需要加上头尾
8
8
# 你可以在此处找到例子: tests/certs/ali/ali_private_key.pem
9
9
app_private_key_string = open (" yourPrivateKey.key" ).read()
10
- alipay_public_key_string = open (" alipayPublicCert.crt " ).read()
10
+ alipay_public_key_string = open (" alipayPublicCert.pem " ).read()
11
11
12
12
alipay = AliPay(
13
13
appid = " " ,
You can’t perform that action at this time.
0 commit comments