fix(purchase): update payment processing to use CryptoSaaSPayment method

This commit is contained in:
Chang lue Tsen 2025-09-28 12:28:44 -04:00
parent d74d636735
commit 9777a0c61a

View File

@ -108,7 +108,7 @@ func (l *PurchaseCheckoutLogic) PurchaseCheckout(req *types.CheckoutOrderRequest
case paymentPlatform.CryptoSaaS:
// Process EPay payment - generates payment URL for redirect
url, err := l.epayPayment(paymentConfig, orderInfo, req.ReturnUrl)
url, err := l.CryptoSaaSPayment(paymentConfig, orderInfo, req.ReturnUrl)
if err != nil {
return nil, errors.Wrapf(xerr.NewErrCode(xerr.ERROR), "epayPayment error: %v", err.Error())
}