Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SettleVerifiedPayment ¶ added in v1.14.15
func SettleVerifiedPayment(ctx context.Context, svcCtx *svc.ServiceContext, orderInfo *order.Order, tradeNo string) error
SettleVerifiedPayment is shared by callback handlers and expiry-time gateway checks. Callers must authenticate the gateway response and verify the order amount before invoking it.
Types ¶
type AlipayNotifyLogic ¶
func NewAlipayNotifyLogic ¶
func NewAlipayNotifyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AlipayNotifyLogic
Alipay notify
func (*AlipayNotifyLogic) AlipayNotify ¶
func (l *AlipayNotifyLogic) AlipayNotify(form url.Values) error
type EPayNotifyLogic ¶
func NewEPayNotifyLogic ¶
func NewEPayNotifyLogic(ctx context.Context, svcCtx *svc.ServiceContext, meta EPayNotifyMeta) *EPayNotifyLogic
EPay notify
func (*EPayNotifyLogic) EPayNotify ¶
func (l *EPayNotifyLogic) EPayNotify(req *dto.EPayNotifyRequest) error
type EPayNotifyMeta ¶ added in v1.2.14
type StripeNotifyLogic ¶
func NewStripeNotifyLogic ¶
func NewStripeNotifyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *StripeNotifyLogic
NewStripeNotifyLogic Stripe notify
func (*StripeNotifyLogic) StripeNotify ¶
func (l *StripeNotifyLogic) StripeNotify(payload []byte, signature string) error
Click to show internal directories.
Click to hide internal directories.