preapprove_issue-of-return-url #20
samfernando96
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This relevant to payhere-js-sdk NPM package only,
I used yours NPM package for a preapprove process . So I could to find there is a issue with returnUrl. Because after submit the form, redirect to returnurl with "order_id",but the value of order_id was a string like this "[object object]" . I tried different versions but result was same. I noticed there is no issue with "checkout" process. Issue happens with only "Subscription" and "Preapprove" packages.
So I could changed little code stuff with version 1.0.0 on PreapprovalParams class and I could to fix the issue with orderId.
According to you I don't know whether its a issue or not , but please concern about that. And if it is a issue with package, kindly request the fix that and release quickly . thank u.
Beta Was this translation helpful? Give feedback.
All reactions