I could not able to download the package yet as it asked me to send a request to you. Can you please grant me access so that I can download the package successfully.
Apologies Minesh, it was set to "Anyone with a Link" but I think that only means Google Accounts. Either way, I authorised it about 30 minutes after you requested it so it should be fine.
After couple of tries I'm finally able to setup your site on my local machine. The issue was caused by the security plugins you have installed.
Now - when I visit the "custom code" section and I found that "woocommerce_refund_functions" code snippet is disabled (not active). With your testing - the code "woocommerce_refund_functions" snippet was active or inactive?
Ah yes, I didn't realise the security plugins would be an issue for you, sorry about that.
I don't know why the snippet would be disabled, all snippets should be active. I've just double-checked and there are definitely no disabled snippets on the dev site I'm working on and they weren't when the backup was taken, so please enable them as that's something that's happened in the duplicator transfer.
That's no problem, hopefully we can make some progress on this soon.
I've also found that custom validation in general is running but not coming through into the messages field. I haven't figured out the cause yet, but I'm reluctant to start pulling custom validations apart to try and find the cause until I know what's happening with this issue, just in case there is a link.
It seems that you are using wrong conditional statement to compare the URL params.
Instead of using the [cred_show_group] shortcode (conditional statement that you should usually use when you want to display dependent fields) - can you please try to use the [wpv-conditional] shortcode that is the correct shortcode to check and display the conditional content.
So, with the duplicator copy and with the form:
=> hidden link
On duplicator copy of your site I've converted all [cred_show_group] shortcode to [wpv-conditonal] shortcode as you can see below:
Are you sure you wish to refund the following order[wpv-conditional if="('[wpv-search-term param='oid1']' ne '')"]s[/wpv-conditional]:<br />
<strong>Order #[order_info id='[wpv-search-term param="oid0"]']</strong>[wpv-conditional if="('[wpv-search-term param='oid1']' ne '')"],[/wpv-conditional]
[wpv-conditional if="('[wpv-search-term param='oid1']' ne '')"]
<br /><strong>Order #[order_info id='[wpv-search-term param="oid1"]']</strong> [wpv-conditional if="('[wpv-search-term param='oid2']' ne '')"],
[/wpv-conditional]
[/wpv-conditional]
[wpv-conditional if="('[wpv-search-term param='oid2']' ne '')"]
<br /><strong>Order #[order_info id='[wpv-search-term param="oid2"]']</strong> [wpv-conditional if="('[wpv-search-term param='oid3']' ne '')"],
[/wpv-conditional]
[/wpv-conditional]
[wpv-conditional if="('[wpv-search-term param='oid3']' ne '')"]
<br /><strong>Order #[order_info id='[wpv-search-term param="oid3"]']</strong> [wpv-conditional if="('[wpv-search-term param='oid4']' ne '')"],
[/wpv-conditional]
[/wpv-conditional]
[wpv-conditional if="('[wpv-search-term param='oid4']' ne '')"]
<br /><strong>Order #[order_info id='[wpv-search-term param="oid4"]']</strong> [wpv-conditional if="('[wpv-search-term param='oid5']' ne '')"],
[/wpv-conditional]
[/wpv-conditional]
[wpv-conditional if="('[wpv-search-term param='oid5']' ne '')"]
<br /><strong>Order #[order_info id='[wpv-search-term param="oid5"]']</strong>
[/wpv-conditional]
And I can see all those notices are gone. Can you please try to convert all [cred_show_group] conditions to [wpv-conditions] and check if that help you to resolve your issue.
That does indeed fix the issue. I had no idea you could use [wpv-conditional] tags on Cred forms, and I guess that means the validation issues are unrelated, so I'm going to go and pull that apart to find the issue there.
But yes, swapping the tags does fix this problem, thank you.