gopay icon indicating copy to clipboard operation
gopay copied to clipboard

缺少消费者投诉回调解密方法

Open zhuCheer opened this issue 1 year ago • 4 comments

确认下,貌似缺少投诉回调接口解密方法

zhuCheer avatar May 31 '23 08:05 zhuCheer

确认下,貌似缺少投诉回调接口解密方法

好的,有时间我找找,后续补充 另外,您方便提供一份回调通知的完整参数吗?我需要测试数据

iGoogle-ink avatar Jun 01 '23 16:06 iGoogle-ink

结构是这样,加密数据需要有真实的商户号密钥啥的才能解析,我直接提个PR你来审下呢,哈哈~

{
	"id": "1f5b9cd1-7205-58fe-827e-ee8b12bc8169",
	"create_time": "2023-06-01T14:19:56+08:00",
	"resource_type": "encrypt-resource",
	"event_type": "COMPLAINT.STATE_CHANGE",
	"summary": "投诉状态变更",
	"resource": {
		"original_type": "complaint",
		"algorithm": "AEAD_AES_256_GCM",
		"ciphertext": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
		"associated_data": "complaint",
		"nonce": "lgSUQQVhgMrq"
	}
}

zhuCheer avatar Jun 09 '23 09:06 zhuCheer

结构是这样,加密数据需要有真实的商户号密钥啥的才能解析,我直接提个PR你来审下呢,哈哈~

{
	"id": "1f5b9cd1-7205-58fe-827e-ee8b12bc8169",
	"create_time": "2023-06-01T14:19:56+08:00",
	"resource_type": "encrypt-resource",
	"event_type": "COMPLAINT.STATE_CHANGE",
	"summary": "投诉状态变更",
	"resource": {
		"original_type": "complaint",
		"algorithm": "AEAD_AES_256_GCM",
		"ciphertext": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
		"associated_data": "complaint",
		"nonce": "lgSUQQVhgMrq"
	}
}

好啊,你能提PR最好了

iGoogle-ink avatar Jun 14 '23 07:06 iGoogle-ink

我现在也需要这个消费者投诉回调解密方法,不知道如何解决,老大有处理好吗,谢谢?

huangzhilin avatar Aug 17 '23 09:08 huangzhilin