We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting the following error in the PGCreateLink method
PGCreateLink
json: cannot unmarshal string into Go struct field LinkMetaResponseEntity.link_meta.upi_intent of type bool
relevant snippet:
import ( cashfree "github.com/cashfree/cashfree-pg/v4" ) req := &cashfree.CreateLinkRequest{ LinkId: linkId, LinkAmount: createPaymentLinkRequest.Amount, LinkCurrency: createPaymentLinkRequest.Currency, LinkPurpose: createPaymentLinkRequest.Description, CustomerDetails: cashfree.LinkCustomerDetailsEntity{ CustomerPhone: createPaymentLinkRequest.UserPhoneNumber, CustomerEmail: &createPaymentLinkRequest.UserEmail, }, LinkExpiryTime: &linkExpiresAtFormatted, LinkMeta: &cashfree.LinkMetaResponseEntity{ ReturnUrl: &cashfreeRedirectUrl, }, LinkNotify: &cashfree.LinkNotifyEntity{ SendEmail: cashfree.PtrBool(true), }, } createdLink, httpResponse, err := cashfree.PGCreateLink( &cashfree.XApiVersion, req, &internalRequestId, nil, &http.Client{}, ) if err != nil { return nil, err }
The text was updated successfully, but these errors were encountered:
Let me check and get back to you
Sorry, something went wrong.
I am also facing the same issue is there any update or a way to solve it??
Try with the latest version go get github.com/cashfree/cashfree-pg/v4 and let me know
go get github.com/cashfree/cashfree-pg/v4
No branches or pull requests
getting the following error in the
PGCreateLink
methodrelevant snippet:
The text was updated successfully, but these errors were encountered: