Thanks for looking Nicolas
It actually has been working for over a year and we have had many sales this way.
The error message comes from v12_end.php:
'There was a problem with the application submission. Please contact us to manually create your order.'
In context:
// process the form
jQuery('form#hikashop_v12_form').submit(function(event) {
//Disable the submit button
jQuery('#hikashop_v12_button').attr('disabled', 'disabled');
// get the form data
// there are many ways to get this data using jQuery (you can use the class or id also)
var formData = {
'product_id' : jQuery('input[name="period"]:checked').val(),
'deposit' : jQuery('input[name=deposit]').val(),
'data' : jQuery('input[name=data]').val()
};
// process the form
jQuery.ajax({
type : 'post',
url : '?option=com_ajax&plugin=v12&format=json',
data : formData,
dataType : 'json',
encode : true
}).done(function(data) {
// log data to the console so we can see
console.log(data);
if (data.success) {
if(data.data[0].formUrl) {
jQuery('#application_link').attr("href", data.data[0].formUrl);
//Hide the form and show the application link
jQuery('#hikashop_v12_form').hide( "slow",function(){
jQuery('#ajax-response-success').show("slow");
//Click the link after 5 seconds
setTimeout(function(){
//Use window open as a click event will bind to the link before it has an href value
window.open(data.data[0].formUrl);
}, 5000);
});
} else if (data.data[0].noapplication) {
//V12 didn't return an application link
jQuery('#hikashop_v12_form').hide( "slow",function(){
jQuery('#ajax-response-error').show("slow");
jQuery('#ajax-error-message').html('There was a problem with the application submission. Please contact us to manually create your order.');
});
...and more...
This message contains confidential information
On the live site the V12 payment is enabled and working with the legacy checkout enabled.
On my staging site checkout legacy is switched off. Otherwise they are the same Hikashop Configuration (caches are off on the staging site).
Nicolas, it is good of you to look at this, especially on May 1st and quite late in the evening. There is no rush at all - the live site is happy.
Kind regards
Bob