Skip to content

Commit

Permalink
沙箱默认地址切换到新地址
Browse files Browse the repository at this point in the history
  • Loading branch information
smartwalle committed Jun 14, 2023
1 parent 9dbfb6c commit d94ec91
Show file tree
Hide file tree
Showing 10 changed files with 86 additions and 83 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@ http.HandleFunc("/notify", func (writer http.ResponseWriter, request *http.Reque

大家在对接的时候一定要确认清楚是新地址还是老地址。

本 SDK 目前默认使用的是老地址,如果需要使用新地址,只需要在初始化的时候通过 alipay.WithSandboxGateway() 指定即可。
本 SDK 目前默认使用的是 **【新地址】**,如果需要使用老地址,只需要在初始化的时候通过 alipay.WithSandboxGateway() 指定即可。

```go
alipay.New(appId, privateKey, isProduction, alipay.WithSandboxGateway("https://openapi-sandbox.dl.alipaydev.com/gateway.do"))
alipay.New(appId, privateKey, isProduction, alipay.WithSandboxGateway("https://openapi.alipaydev.com/gateway.do"))
```

### 应用信息配置
Expand Down
30 changes: 15 additions & 15 deletions alipayCertPublicKey.crt → alipayPublicCert.crt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
-----BEGIN CERTIFICATE-----
MIIDqDCCApCgAwIBAgIQIBkQCPhtbxYjxw3ptfKv7TANBgkqhkiG9w0BAQsFADCBkTELMAkGA1UE
MIIDszCCApugAwIBAgIQICMGFJ2EVEk/m7VhBSBTDzANBgkqhkiG9w0BAQsFADCBkTELMAkGA1UE
BhMCQ04xGzAZBgNVBAoMEkFudCBGaW5hbmNpYWwgdGVzdDElMCMGA1UECwwcQ2VydGlmaWNhdGlv
biBBdXRob3JpdHkgdGVzdDE+MDwGA1UEAww1QW50IEZpbmFuY2lhbCBDZXJ0aWZpY2F0aW9uIEF1
dGhvcml0eSBDbGFzcyAyIFIxIHRlc3QwHhcNMTkxMDA4MDg1OTE4WhcNMjIxMDA2MDg1OTE4WjB6
MQswCQYDVQQGEwJDTjEVMBMGA1UECgwM5rKZ566x546v5aKDMQ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gNVBAsM
BkFsaXBheTFDMEEGA1UEAww65pSv5LuY5a6dKOS4reWbvSnnvZHnu5zmioDmnK/mnInpmZDlhazl
j7gtMjA4ODcyMTAwNDExMzU5MzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK4mxMOW
gBdKbOtsv7FP0qyeEFoQiPWdcp2wCBDvJErTibhK2SJYuAMfkIlwFAXFsyVX+7j2QmGvzswWu03a
66Th8vYYSqf1OXJ05p2nTsrpxvsttrnDXml7Nq+Dch62IfPrcQaCAObu5GPkL0C9CnPs2D0LHzY3
MhbMTUACiONCG+7CneCvHvTdYl7Ck11SF/DxRgV5yYlJsgFA4hIhUIDb9reU6xBM3Y1aD2NM0MIE
BZMrdLL14svu0tmKhtujpkWt65WKtmU2rGmAgrQRy8UcV/vUbh2vuqV5pNROiJ52valk2bltgX0X
Y2/iusOdhItk7myKbbsqfESImG4DE+MCAwEAAaMSMBAwDgYDVR0PAQH/BAQDAgTwMA0GCSqGSIb3
DQEBCwUAA4IBAQCU547Aqp2A6zj5G+Zpke+Q8pHRwejOwEiwUh1HimIi6CWJsAzwv8b+xghSalMy
IegphRrLzdzZoAupNDtoKEo9kCkMUUGFIUe8xDpSHpsx7ugENJAeR9gdCF70xw5SJg+t4cx5W14e
JpZA1dLca914Omh07f9uKOfwnHY3VVTjJIu7HZCj1z0q8jdKP8qeHBs6rgAXRbMMP/SriHpfEyS6
8E7pl7Yk7NwXveilIji4sH5kb36oHDU2JSPIrH2R0Vi6jgrPG6PzqjbaQ4E+QHe4M6dJbfxv93nT
9odViDORjexKu76y0Me5BFDmiEEUhHDFSx3rIMMMjtlo8sQeRIdF
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIDszCCApugAwIBAgIQIBkIGbgVxq210KxLJ+YA/TANBgkqhkiG9w0BAQsFADCBhDELMAkGA1UE
Expand Down
17 changes: 10 additions & 7 deletions alipay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,31 @@ package alipay_test

import (
"fmt"
"log"
"os"
"testing"

"github.com/smartwalle/alipay/v3"
)

var (
appID = "2016073100129537"
appID = "9021000122689420"

privateKey = "MIIEogIBAAKCAQEAmF/L4+mkeiFTaCeSy6DoOB3OGOKFmLElx/5pgOuPPGHLXjBsk6X+8Iq0VqRhug3hFndSPB4e8UxKftXmzjYswlhcEBG/huBlTQhiKbNAq7Iia1L3tIs+vV8lEuFJlI9lZwOfczHIDo3gYZFKnEumyLntWq5sebYkhazg9NG56D9cBeXPz7rPzKwzVmjCL8HkB4BkvEZYUqw0WFm6GFt0Pc0VOcCwoio9oRlZOgVI/kHCGbLfChgJAqs+Id1pYOvB0CoYv49uaXG4qqcUCG5tW9EE/IVUCXRjV7+v9ypd+PejNyFWtC+5S6I8xVa3LjmMpFr881n+QtKeYQq0hFijBQIDAQABAoIBABKqSXOVv0wmoOz1TAodn9Sf8gsiVHMr4BDrnUjpkhY3dI4JKIO9pckZdJXYdRAxew0heLVcizXLvqRi128TO9BiuoRNaETBYCdbi4rIJnfhzk2PUECRfhH8gbIaXsUP+7/uta2Kv5Lo1j+daKJUsg2MmQKusyMFqNunHbdfqYJFb5FVJieojngXhBeE/pOkCDKfVbbcYNg8MZSHqGBh6U15/H2qCewdfstnVJKMr8gs4xK7ITygev3jdE9PuxDpsiBexXNT4AXuhHpydYUKgPuAoFj2fnMIvdDY+bo5dpgN4sCFVjnPEp1HBkfviY1X2k3Ca/e0bGjfS1qxs2fDy1ECgYEA6bOPRx3AIO73aesBmVwRCxaZ2m1o9HsMmT0WeW/yaQ/NeEUFgn36BrKwkr8TQZwPrMUEMshFIowgSjOWSJbV243/xEi25i4IE76NeTPK6OJv1sOocc4dogpGmXq2U+lepPQTX8ZNXh6+MeT96IT//kIrc0u1tOe8v+Cfn6nUH48CgYEApum4o5VSHfHL3j3U6o9+eAsQXfoaPhEd9B2lkUU6btGLegR3lwycCDfP94dHKQe9JAL6UCvUcWvAEpU+gZT/vFrh0krs1XjP/i3S8PH5rd11NhRr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Z6+JYGry1EGmjmR+xaVHodd2LNpw=="

aliPublicKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2MhEVUp+rRRyAD9HZfiSg8LLxRAX18XOMJE8/MNnlSSTWCCoHnM+FIU+AfB+8FE+gGIJYXJlpTIyWn4VUMtewh/4C8uwzBWod/3ilw9Uy7lFblXDBd8En8a59AxC6c9YL1nWD7/sh1szqej31VRI2OXQSYgvhWNGjzw2/KS1GdrWmdsVP2hOiKVy6TNtH7XnCSRfBBCQ+LgqO1tE0NHDDswRwBLAFmIlfZ//qZ+a8FvMc//sUm+CV78pQba4nnzsmh10fzVVFIWiKw3VDsxXPRrAtOJCwNsBwbvMuI/ictvxxjUl4nBZDw4lXt5eWWqBrnTSzogFNOk06aNmEBTUhwIDAQAB"
aliPublicKey = ""
)

var client *alipay.Client

func init() {
log.SetFlags(log.Ldate | log.Ltime | log.Llongfile)

var err error
client, err = alipay.New(appID, privateKey, false)

client.OnReceivedData(func(method string, data []byte) {
fmt.Println(method, string(data))
log.Println(method, string(data))
})

if err != nil {
Expand All @@ -32,15 +35,15 @@ func init() {
}

// 加载内容密钥(可选),详情查看 https://opendocs.alipay.com/common/02mse3
fmt.Println("加载内容密钥", client.SetEncryptKey("FtVd5SgrsUzYQRAPBmejHQ=="))
fmt.Println("加载内容密钥", client.SetEncryptKey("iotxR/d99T9Awom/UaSqiQ=="))

// 下面两种方式只能二选一
var cert = true
if cert {
// 使用支付宝证书
fmt.Println("加载证书", client.LoadAppCertPublicKeyFromFile("appCertPublicKey.crt"))
fmt.Println("加载证书", client.LoadAppCertPublicKeyFromFile("appPublicCert.crt"))
fmt.Println("加载证书", client.LoadAliPayRootCertFromFile("alipayRootCert.crt"))
fmt.Println("加载证书", client.LoadAlipayCertPublicKeyFromFile("alipayCertPublicKey.crt"))
fmt.Println("加载证书", client.LoadAlipayCertPublicKeyFromFile("alipayPublicCert.crt"))
} else {
// 使用支付宝公钥
fmt.Println("加载公钥", client.LoadAliPayPublicKey(aliPublicKey))
Expand Down
2 changes: 1 addition & 1 deletion alipay_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

const (
kSandboxGateway = "https://openapi.alipaydev.com/gateway.do"
kSandboxGateway = "https://openapi-sandbox.dl.alipaydev.com/gateway.do"
kProductionGateway = "https://openapi.alipay.com/gateway.do"
kProductionMAPIGateway = "https://mapi.alipay.com/gateway.do"

Expand Down
19 changes: 0 additions & 19 deletions appCertPublicKey.crt

This file was deleted.

19 changes: 19 additions & 0 deletions appPublicCert.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDmTCCAoGgAwIBAgIQICMGFE/GVT29GaZP4DEOYzANBgkqhkiG9w0BAQsFADCBkTELMAkGA1UE
BhMCQ04xGzAZBgNVBAoMEkFudCBGaW5hbmNpYWwgdGVzdDElMCMGA1UECwwcQ2VydGlmaWNhdGlv
biBBdXRob3JpdHkgdGVzdDE+MDwGA1UEAww1QW50IEZpbmFuY2lhbCBDZXJ0aWZpY2F0aW9uIEF1
dGhvcml0eSBDbGFzcyAyIFIxIHRlc3QwHhcNMjMwNjE0MDgxNDUyWhcNMjQwNjE4MDgxNDUyWjBr
MQswCQYDVQQGEwJDTjEfMB0GA1UECgwWZGRzdW12NTQyMUBzYW5kYm94LmNvbTEPMA0GA1UECwwG
QWxpcGF5MSowKAYDVQQDDCEyMDg4NzIxMDA0MTEzNTkzLTkwMjEwMDAxMjI2ODk0MjAwggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC2sJifTf2Cn8iMtmw2XrhCMeM98CSXJhnIg9KqU82Y
KiVEw4BvatucsBJGk/VWBPtjMDgmAnV/9+EaxIF7GkiLYE5l3AN7EG2Z9710UbNtaGmoDHNadlrM
t174EY6zoEaTS/UHRxZSqW/rCBJKjnte7vEvnprfiAOwGLWqhee7h/ULOu++JGw0KAMO6s2wC2SM
vOg+7MeuLqxOGxDs/dqZvfPIbnFXFIZlEUqA82iKJmkGlc+gTAysdBETyuayaB3P4ThgvXG4P4gJ
DEIJME4nBS4PM+3nCvv3c/GCWiqHSnfI+85KGZswDFS0uIaBxk2rHLj110bz16BXIbFEmmKZAgMB
AAGjEjAQMA4GA1UdDwEB/wQEAwIE8DANBgkqhkiG9w0BAQsFAAOCAQEAeyLzHfHRnZ7D3dHFJg9D
P/85ldjMIuJ4JRwVVFfcRBg496RlAs+F4rK0lWiykkBv1LtLINt/TI6wtqmpSy8Coi7xE2op+hKQ
B6ndf8Z1boE+Yjdi66uPSHNfgb5KYZeq+LB9QTDmKPCeF8eah789S0qpJ9YQkdZIl+khf7xYT+0a
ERQSb1ti/q2XSeikpHm8vWj0Jzsl4EZnZ22omcHii0iXeyzbHwaHAR90NVVko1Zy6BapLp0raX7x
a7xuuqW6GKRRkKT4w6mUl3nZ4lXP92+UHpcip/enwprlVdPdLbcJq0sxB97PEKfP6SAaCTji1Tdt
PzyPWSx9O07vRhN84Q==
-----END CERTIFICATE-----
30 changes: 15 additions & 15 deletions examples/alipayCertPublicKey.crt → examples/alipayPublicCert.crt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
-----BEGIN CERTIFICATE-----
MIIDqDCCApCgAwIBAgIQIBkQCPhtbxYjxw3ptfKv7TANBgkqhkiG9w0BAQsFADCBkTELMAkGA1UE
MIIDszCCApugAwIBAgIQICMGFJ2EVEk/m7VhBSBTDzANBgkqhkiG9w0BAQsFADCBkTELMAkGA1UE
BhMCQ04xGzAZBgNVBAoMEkFudCBGaW5hbmNpYWwgdGVzdDElMCMGA1UECwwcQ2VydGlmaWNhdGlv
biBBdXRob3JpdHkgdGVzdDE+MDwGA1UEAww1QW50IEZpbmFuY2lhbCBDZXJ0aWZpY2F0aW9uIEF1
dGhvcml0eSBDbGFzcyAyIFIxIHRlc3QwHhcNMTkxMDA4MDg1OTE4WhcNMjIxMDA2MDg1OTE4WjB6
MQswCQYDVQQGEwJDTjEVMBMG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0MjFAc2FuZGJveC5jb20xDzANBgNVBAsM
BkFsaXBheTFDMEEGA1UEAww65pSv5LuY5a6dKOS4reWbvSnnvZHnu5zmioDmnK/mnInpmZDlhazl
j7gtMjA4ODcyMTAwNDExMzU5MzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK4mxMOW
gBdKbOtsv7FP0qyeEFoQiPWdcp2wCBDvJErTibhK2SJYuAMfkIlwFAXFsyVX+7j2QmGvzswWu03a
66Th8vYYSqf1OXJ05p2nTsrpxvsttrnDXml7Nq+Dch62IfPrcQaCAObu5GPkL0C9CnPs2D0LHzY3
MhbMTUACiONCG+7CneCvHvTdYl7Ck11SF/DxRgV5yYlJsgFA4hIhUIDb9reU6xBM3Y1aD2NM0MIE
BZMrdLL14svu0tmKhtujpkWt65WKtmU2rGmAgrQRy8UcV/vUbh2vuqV5pNROiJ52valk2bltgX0X
Y2/iusOdhItk7myKbbsqfESImG4DE+MCAwEAAaMSMBAwDgYDVR0PAQH/BAQDAgTwMA0GCSqGSIb3
DQEBCwUAA4IBAQCU547Aqp2A6zj5G+Zpke+Q8pHRwejOwEiwUh1HimIi6CWJsAzwv8b+xghSalMy
IegphRrLzdzZoAupNDtoKEo9kCkMUUGFIUe8xDpSHpsx7ugENJAeR9gdCF70xw5SJg+t4cx5W14e
JpZA1dLca914Omh07f9uKOfwnHY3VVTjJIu7HZCj1z0q8jdKP8qeHBs6rgAXRbMMP/SriHpfEyS6
8E7pl7Yk7NwXveilIji4sH5kb36oHDU2JSPIrH2R0Vi6jgrPG6PzqjbaQ4E+QHe4M6dJbfxv93nT
9odViDORjexKu76y0Me5BFDmiEEUhHDFSx3rIMMMjtlo8sQeRIdF
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIDszCCApugAwIBAgIQIBkIGbgVxq210KxLJ+YA/TANBgkqhkiG9w0BAQsFADCBhDELMAkGA1UE
Expand Down
19 changes: 0 additions & 19 deletions examples/appCertPublicKey.crt

This file was deleted.

19 changes: 19 additions & 0 deletions examples/appPublicCert.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDmTCCAoGgAwIBAgIQICMGFE/GVT29GaZP4DEOYzANBgkqhkiG9w0BAQsFADCBkTELMAkGA1UE
BhMCQ04xGzAZBgNVBAoMEkFudCBGaW5hbmNpYWwgdGVzdDElMCMGA1UECwwcQ2VydGlmaWNhdGlv
biBBdXRob3JpdHkgdGVzdDE+MDwGA1UEAww1QW50IEZpbmFuY2lhbCBDZXJ0aWZpY2F0aW9uIEF1
dGhvcml0eSBDbGFzcyAyIFIxIHRlc3QwHhcNMjMwNjE0MDgxNDUyWhcNMjQwNjE4MDgxNDUyWjBr
MQswCQYDVQQGEwJDTjEfMB0GA1UECgwWZGRzdW12NTQyMUBzYW5kYm94LmNvbTEPMA0GA1UECwwG
QWxpcGF5MSowKAYDVQQDDCEyMDg4NzIxMDA0MTEzNTkzLTkwMjEwMDAxMjI2ODk0MjAwggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC2sJifTf2Cn8iMtmw2XrhCMeM98CSXJhnIg9KqU82Y
KiVEw4BvatucsBJGk/VWBPtjMDgmAnV/9+EaxIF7GkiLYE5l3AN7EG2Z9710UbNtaGmoDHNadlrM
t174EY6zoEaTS/UHRxZSqW/rCBJKjnte7vEvnprfiAOwGLWqhee7h/ULOu++JGw0KAMO6s2wC2SM
vOg+7MeuLqxOGxDs/dqZvfPIbnFXFIZlEUqA82iKJmkGlc+gTAysdBETyuayaB3P4ThgvXG4P4gJ
DEIJME4nBS4PM+3nCvv3c/GCWiqHSnfI+85KGZswDFS0uIaBxk2rHLj110bz16BXIbFEmmKZAgMB
AAGjEjAQMA4GA1UdDwEB/wQEAwIE8DANBgkqhkiG9w0BAQsFAAOCAQEAeyLzHfHRnZ7D3dHFJg9D
P/85ldjMIuJ4JRwVVFfcRBg496RlAs+F4rK0lWiykkBv1LtLINt/TI6wtqmpSy8Coi7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