Hi,
to make a successfull api call to 3rt party paymnt system I need to send a date in specific format: "YYYY-MM". But when I try to assign a "-" symbol to a variable, it gets ignored. I've tried multiple ways of variable creation, even used custom js to combine year+"-"+month. It still reads only numbers and "-" is ignored. Please, help me figure it out.
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Asigning new variables
Re: Asigning new variables
Hi,
Thank you for reaching out.
Can you specify which language you are attempting to make the API call in?
Regards,
Plum Support
Thank you for reaching out.
Can you specify which language you are attempting to make the API call in?
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
-
- Posts: 2
- Joined: Thu Apr 04, 2019 6:53 am
Re: Asigning new variables
I'm using Fuse+ editor.
Re: Asigning new variables
Hi,
Using the JavaScript module you can concatenate the values and symbols together.
For example:
This will set date equal to:
2019-04
Please reach back out if you have any further questions.
Regards,
Plum Support
Using the JavaScript module you can concatenate the values and symbols together.
For example:
Code: Select all
month = 04;
year = 2019;
dash = -;
date = year.concat(dash,month);
2019-04
Please reach back out if you have any further questions.
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com