收藏
回答

支付通知是否支持IPV6?

我是用域名指向一个IPV6地址(即本地电脑),我测试用域名可以请求到本地电脑的,好像微信支付通知没有请求到我的服务

POST https://1977.work/shop/scores/2211088962/notify
Content-Type: application/json

{
    "id": "EV-2018022511223320873",
    "create_time": "2015-05-20T13:29:35+08:00",
    "resource_type": "encrypt-resource",
    "event_type": "TRANSACTION.SUCCESS",
    "summary": "支付成功",
    "resource": {
        "original_type": "transaction",
        "algorithm": "AEAD_AES_256_GCM",
        "ciphertext": "",
        "associated_data": "",
        "nonce": ""
    }
}
最后一次编辑于  2022-11-08
回答关注问题邀请回答
收藏

1 个回答

  • 北望沣渭
    北望沣渭
    2022-11-08
    dig 1977.work @114.114.114.114
    
    ; <<>> DiG 9.10.6 <<>> 1977.work @114.114.114.114
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14175
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;1977.work.			IN	A
    
    ;; AUTHORITY SECTION:
    1977.work.		600	IN	SOA	dns25.hichina.com. hostmaster.hichina.com. 2022052002 3600 1200 86400 600
    
    ;; Query time: 254 msec
    ;; SERVER: 114.114.114.114#53(114.114.114.114)
    ;; WHEN: Tue Nov 08 11:55:54 CST 2022
    ;; MSG SIZE  rcvd: 91
    
    

    无公网可用IP地址,微信无从知晓你本地IPv4/IPv6地址是多少,你让TA咋通知你呢。

    2022-11-08
    有用 1
    回复 2
登录 后发表内容