Account
I am a
Developer
Product(s)
Earned badges
Achievement: Latest Unlocked
Preferences
Replies
Topics Started
Topic Started
Topics |
---|
Hello,
i'm a junior developer and it has been my second week learning Node JS so errors might be because of my poor use of Javascript.
My problem is that after sending a request pretty much like in
|
Replies Created
Reply to: Can't successfully retrieve package id
Friday, July 14, 2017 at 05:52amHi,
Thank you for such a fast answer.
Do i have to send the payload as a string or as an object ? I don't understand why you have to use '+' to build the payload as a string if you cant use an object & just set the values with the form.
Have a good afternoon.
Reply to: Can't successfully retrieve package id
Monday, July 17, 2017 at 01:16amHello,
Thank you for your help it was very helpful. Another error that i detected was my 'content-type' parameter which was set to 'null' instead of null.
Unfortunately, i also have a problem with the session token. I embedded the token request in the handler of the package id request here in line 323.
My session token is undefined & the body empty.
Am i doing things correctly ?
Again, thank you for your time.
Reply to: Can't successfully retrieve package id
Monday, July 17, 2017 at 06:37amHi,
Not only i still can't get the session token but now i don't get the package id either. Just by changing DRAFT to SENT they both are undefined. Are you sure these types of requests can be done with a sandbox account ?
Have a good afternoon :)
Reply to: Can't successfully retrieve package id
Monday, July 17, 2017 at 11:57pmHello Mr Haidary,
You are right i forgot about the fact that the code was set to this actual document. The retrieval of the packageid and the session token run smoothly thanks to your payload & advices.
However, when i get the iframe in our front-end, i have this result as shown in the attachment. What can i understand from it ?
Thank you++;
Reply to: Can't successfully retrieve package id
Tuesday, July 18, 2017 at 03:49amAfter noticing an error on the building of the url, i getanother error from your servers which is attached to this message.
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
Hello,
i'm a junior developer and it has been my second week learning Node JS so errors might be because of my poor use of Javascript.
My problem is that after sending a request pretty much like in
|
25 | 6 years 9 months ago | 82 |
Subscriptions Release Notes
This user is not subscribed to any release notes.