Thanks, I couldn't find anything using the view files option. That helps.
Looking at the stripeconnect_end page I am thinking about adding a script on the page, can you give me your opinion?
window.onbeforeunload = function() {
window.setTimeout(function () {
window.location = '/my-account'; //someplace other than the same page
}, 0);
window.onbeforeunload = null; // kill loop
}
The idea is if someone gets to the checkout/after_end, if they try to refresh the page instead of creating a duplicate order (which really doesn't make sense), it will redirect them...in this example the alias /my-account is just Hika's user control panel.
I also notice that there is a cancel url and a return url. I see that the return url works after payment is made, but I don't see where cancel url is of use--there isn't a way to cancel the payment request after you read the end of HIka's checkout process. Am I missing something?
Thanks!
EDIT: never mind, it works to get the visitor off the page, but it still creates one duplicate order. I don't suppose anyone knows of a way to keep this from happening?