Invoice: failed to parse payload callback QRIS
exneval opened this issue · 1 comments
exneval commented
// InvoiceFInvoicePaymentDetaile is data that contained in `Invoice` at PaymentDetail
type InvoicePaymentDetail struct {
Type string `json:"receipt_id,omitempty"`
Value float64 `json:"source,omitempty"`
}
since v1.0.3
InvoicePaymentDetail.Value
change to float64
Refer to this commit
but the payload payment_details.source
still expect a string
this will make the callback event failed to request (status code: 400)