Hello
I have just updated virtuemart to last version 1.1.8 and i continue have problems with the paypal method.
When i pulse over comfim button it show me the follow message:
X Invalid Credit Card Number or Credit Card Verification Code.
X Error: Invalid Credit Card Number or Credit Card Verification Code.
X Error: Fallo en el proceso de pago (ps_paypal_api)
X Invalid Credit Card Number or Credit Card Verification Code.
I'm very crazy. I don't know what to do.
can everyone help me?
Thanks
I also want to know the way to solved it because I've got the same problem.
Thanks in advance.
I have just fixed the problem
I have done the follow steps:
1.- Update virtuemart from 1.1.4 to 1.1.7 version.
2.- I modified ps_checkout.php file, line 848. I added "&payment_method_ppex=2" to code:
// Redirect to the last step when there's only one payment method
if( $VM_CHECKOUT_MODULES['CHECK_OUT_GET_PAYMENT_METHOD']['order'] != $VM_CHECKOUT_MODULES['CHECK_OUT_GET_FINAL_CONFIRMATION']['order'] ) {
if ($count <= 1 && $cc_payments==false) {
$vmLogger->debug("Only One Payment, skipping selection");
vmRedirect($sess->url(SECUREURL.basename($_SERVER['PHP_SELF'])."?page=checkout.index&payment_method_id=$first_payment_method_id&ship_to_info_id=$ship_to_info_id&shipping_rate_id=".urlencode($shipping_rate_id)."&checkout_stage=".$VM_CHECKOUT_MODULES['CHECK_OUT_GET_FINAL_CONFIRMATION']['order']."&payment_method_ppex=2", false, false ),"");
}
elseif( isset($order_total) && $order_total <= 0.00 ) {
// In case the order total is less than or equal zero, we don't need a payment method
vmRedirect($sess->url(SECUREURL.basename($_SERVER['PHP_SELF'])."?page=checkout.index&ship_to_info_id=$ship_to_info_id&shipping_rate_id=".urlencode($shipping_rate_id)."&checkout_stage=".$VM_CHECKOUT_MODULES['CHECK_OUT_GET_FINAL_CONFIRMATION']['order'], false, false),"");
}
}
3.- I commented this lines 119-121 in list_payment_methods.tpl.php
<?php $ps_payment_method->list_nocheck($payment_method_id, false); ?>
<?php $ps_payment_method->list_bank($payment_method_id, false); ?>
<?php $ps_payment_method->list_paypalrelated($payment_method_id, false); ?>
I hope that help anyone.
Regards.
I dont know why but work also when you using both version of paypal. Api and legacy active and work API.
Strange but does ::)