#Josh_FloralFrog
1 messages · Page 1 of 1 (latest)
Hi
Can you give more details please ?
in this section of the documentation, is this code meant to be embedded into the integration or should this be seperate code for testing? is there also a way to disable this?
when making live payment request, this code is being called and creating an error. so should this be removed from live integration?
Yes
I see, so as long as this code is within the integration, it will sent a simulated request side-by-side with the live payment intents?
yes, this is a testHelpers for your integration. You can use them in test mode but not in live mode
Okay, so is the best cause of action to physically delete this from our code?
You should be integrating this in your integration tests and not in your live code in production.
yes remove the testHelpers and move it to your integration tests section.
and that's all the lines shown in the extract? just to double check
Just delete all testHelpers lines in your (live) code
so just this section?
That section yes, for sure. But we don't have all your code to tell you what other section you should delete.
Don't hesitate to come back if you have any follow up Question.
Okay thank you
Please, let me know if you have any other questions.