diff --git a/go.mod b/go.mod index 55d5112..64906a9 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/si3nloong/rm-go-client +module github.com/wetix/rm-go-client go 1.16 diff --git a/v3/payment_checkout.go b/v3/payment_checkout.go index c5ff596..c3ddac6 100644 --- a/v3/payment_checkout.go +++ b/v3/payment_checkout.go @@ -45,7 +45,6 @@ func (c *Client) CreatePaymentCheckout( ctx context.Context, req CreatePaymentCheckoutRequest, ) (*CreatePaymentCheckoutResponse, error) { - req.LayoutVersion = LayoutV3 if req.Method == nil { req.Method = make([]PaymentMethod, 0) } diff --git a/v3/v3.go b/v3/v3.go index 8a27eda..b5ef00e 100644 --- a/v3/v3.go +++ b/v3/v3.go @@ -7,6 +7,7 @@ const ( LayoutV1 layout = "v1" LayoutV2 layout = "v2" LayoutV3 layout = "v3" + LayoutV4 layout = "v4" ) // types :