New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Absent Member.. Absent Member..
Absent Member..
103 views

LR token id

Hi,

 

When we create a script for an application that uses CC as a payment type it generates a token id, but when we are replayinh the script that script runs so fast that it does not wait for the new token id to be generated, and the script fail, is there a way that we can make the script wait when it run until the token is generate and then continue.

 

Thanks,

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

In general, think time should be a start point here.

More fine tuned answer depends how this token is generated and the protocol used.

LR R&D
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

The simple fix is to just add think time.  If you really need to determine how long it takes to create the token id - then create a loop until the token id exists.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.