We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ed32cf commit e59adfbCopy full SHA for e59adfb
driver/alipay/alipay.go
@@ -55,12 +55,12 @@ func (a *Alipay) Client() *alipay.Client {
55
panic(err)
56
}
57
if len(a.account.PublicKey) > 0 {
58
- if err := a.client.LoadAppPublicCert(a.account.PublicKey); err != nil {
+ if err := a.client.LoadAliPayPublicKey(a.account.PublicKey); err != nil {
59
log.Error(err)
60
61
62
if len(a.account.CertPath) > 0 {
63
- if err := a.client.LoadAppPublicCertFromFile(a.account.CertPath); err != nil {
+ if err := a.client.LoadAliPayPublicCertFromFile(a.account.CertPath); err != nil {
64
65
66
0 commit comments