Please verify the PayPal account to receive the payments.
Thanks for your help.
]]>
https://www.paypal.com/graphql?fetch_credit_form_submit
{
"errors": [
{
"message": "TRANSACTION_REFUSED",
"path": [
"approveGuestPaymentWithCreditCard"
],
"extensions": {
"class": "ERROR"
},
"checkpoints": [
"createCheckoutSession"
],
"meta": {},
"errorData": {
"step_up_context": {}
},
"contingency": true,
"statusCode": 200
}
],
"data": {
"approveGuestPaymentWithCreditCard": null
},
"extensions": {
"tracing": {
"version": 1,
"startTime": "2025-03-11T17:07:21.366Z",
"endTime": "2025-03-11T17:07:24.173Z",
"duration": 2807484608,
"execution": {
"resolvers": [
{
"path": [
"approveGuestPaymentWithCreditCard"
],
"parentType": "Mutation",
"fieldName": "approveGuestPaymentWithCreditCard",
"returnType": "CheckoutSession",
"startOffset": 1959220,
"duration": 2805149728
}
]
}
},
"correlationId": "f310767bdd985"
}
}
]]>however i noticed most fraudulent orders that ship to another address vs their billing address and i want to HIDE authorize.net and ONLY display your paypal and paypal advance card payments.
my code below does the trick for other payment methods but its not working for your payment plugin. can you tell me what is your method ID for paypal and also for paypal card advance payments? so i can try it. here is my code
// Hide payment methods based on billing/shipping address match
add_filter(‘woocommerce_available_payment_gateways’, function($available_gateways) {
if (!is_checkout() || is_admin()) {
return $available_gateways;
}
// Get billing and shipping address details from WooCommerce session
$billing_address = WC()->customer->get_billing_address();
$billing_city = WC()->customer->get_billing_city();
$billing_postcode = WC()->customer->get_billing_postcode();
$billing_country = WC()->customer->get_billing_country();
$shipping_address = WC()->customer->get_shipping_address();
$shipping_city = WC()->customer->get_shipping_city();
$shipping_postcode = WC()->customer->get_shipping_postcode();
$shipping_country = WC()->customer->get_shipping_country();
// Check if billing and shipping addresses match
$billing_same_as_shipping = (
$billing_address === $shipping_address &&
$billing_city === $shipping_city &&
$billing_postcode === $shipping_postcode &&
$billing_country === $shipping_country
);
// Define payment methods to hide
$hide_if_same = [‘ppcp-gateway’]; // Hide these if billing = shipping
$hide_if_different = [‘authnet’]; // Hide these if billing ≠ shipping
foreach ($available_gateways as $gateway_id => $gateway) {
if ($billing_same_as_shipping && in_array($gateway_id, $hide_if_same)) {
unset($available_gateways[$gateway_id]);
} elseif (!$billing_same_as_shipping && in_array($gateway_id, $hide_if_different)) {
unset($available_gateways[$gateway_id]);
}
}
return $available_gateways;
});
// JavaScript to refresh checkout when billing/shipping address changes
add_action(‘wp_footer’, function() {
if (!is_checkout() || is_admin()) return;
?>
However, one of my members of staff (shop manager) – just made a partial refund of a customer order.
Usually from our previous paypal plugin – this will complete the partial refund and make a note that it was the shopmanager (username) which did this.
Nonetheless, the issue with your plugin is that it will show shop manager has made partial refund, then will show that ADMIN made a full refund. And order status will change to fully refunded (which is the wrong order status).
However I checked within paypal account and it wasnt fully refunded – which is good. But was worrying as your plugin is showing the wrong details.
I have your easy payment plugin installed on 7 sites.
Would be grateful if you can resolve this asap.
]]>I’ve noticed significant variance in PayPal transaction fees recently and was wondering if anyone has insight into this. Over the past two orders (within approximately 1.5 weeks), my WooCommerce store was charged 3.4% on a $130 transaction and 4.2% on a $66 transaction.
I understand that PayPal’s base fee is 3.1%, but I’m unsure how the fixed fee component is determined or why it fluctuates. Has anyone else experienced similar inconsistencies, or does anyone have more information on how PayPal calculates these fees?
]]>We are getting customers paying using echeck through PayPal even thought instant payment is checked so it should be disabling this option.
Thanks
]]>But – when customers use the express checkout, no emails are sent at all for the order. No order confirmation and no admin notification about the new order.
When using the classical PayPal checkout, it works just fine.
Any idea, why this might be happening? Or an approach how to investigate this?
Any hint would be appreciated!
]]>Uncaught Error: Call to undefined function getmypid() in /www/removedforanonymity_255/public/wp-content/plugins/woo-paypal-gateway/ppcp/includes/class-ppcp-paypal-checkout-for-woocommerce-request.php:1873
Additional context
{
"error": {
"type": 1,
"file": "/www/removedforanonymity_255/public/wp-content/plugins/woo-paypal-gateway/ppcp/includes/class-ppcp-paypal-checkout-for-woocommerce-request.php",
"line": 1873
},
"remote-logging": true,
"backtrace": [
"",
"#0 /www/removedforanonymity_255/public/wp-content/plugins/woo-paypal-gateway/ppcp/includes/class-ppcp-paypal-checkout-for-woocommerce-request.php(1531): PPCP_Paypal_Checkout_For_Woocommerce_Request->generate_request_id()",
"#1 /www/removedforanonymity_255/public/wp-content/plugins/woo-paypal-gateway/ppcp/public/class-ppcp-paypal-checkout-for-woocommerce-button-manager.php(1403): PPCP_Paypal_Checkout_For_Woocommerce_Request->ppcp_create_webhooks_request()",
"#2 /www/removedforanonymity_255/public/wp-includes/class-wp-hook.php(324): PPCP_Paypal_Checkout_For_Woocommerce_Button_Manager->ppcp_create_webhooks('')",
"#3 /www/removedforanonymity_255/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)",
"#4 /www/removedforanonymity_255/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)",
"#5 /www/removedforanonymity_255/public/wp-settings.php(726): do_action('wp_loaded')",
"#6 /www/removedforanonymity_255/public/wp-config.php(104): require_once('/www/removedforanonymity...')",
"#7 /www/removedforanonymity_255/public/wp-load.php(50): require_once('/www/removedforanonymity...')",
"#8 /www/removedforanonymity_255/public/wp-admin/admin.php(34): require_once('/www/removedforanonymity...')",
"#9 {main}",
"thrown"
]
}
]]>