I'm in contact with Stripe developers. Please can you only set up the action and the conditions in the runtime.js Script like this :
if{//Buy ---> You do this
//Action --> I will try to do this
}
if{//Condition --->I will try to do this
//Action --> You do this (set 'transaction succeced' true)
//Action --> You do this (set 'transaction failed' false)
}
else {
//Action --> You do this (set 'transaction succeced' false)
//Action --> You do this (set 'transaction failed' false)
}