feat(epay): support type selectors and preserve callback type

This commit is contained in:
line-6000
2026-06-28 11:56:58 +08:00
parent b4d1a4d8d4
commit 2dc538c0e1
12 changed files with 546 additions and 25 deletions
+1
View File
@@ -18,6 +18,7 @@ type CreateTransactionRequest struct {
// empty or any other value is stored as "Gmpay" and uses GMPay JSON.
// It is optional for GMPay, but must be included in the signature when sent.
PaymentType string `json:"payment_type" form:"payment_type" example:"Epay"`
EpayType string `json:"-" form:"-"`
}
func (r CreateTransactionRequest) Translates() map[string]string {