Viewing 3 replies - 16 through 18 (of 18 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    @aseow155 that doesn’t appear to be the entire log entry. Can you please send me the payment intent ID and your Stripe account ID? I can lookup the log entry once you provide those two identifiers.

    Kind Regards,

    “id”: “pi_1Gie62JfSHH7VyfE2l0L6H4n”,

    “payment_method”: {
    “id”: “pm_1Gie63JfSHH7VyfEgQE0cYZ5”,

    “livemode”: true,
    “next_action”: null,
    “status”: “requires_payment_method”, <- found it
    “amount”: 19700,
    “amount_capturable”: 0,
    “amount_received”: 0,
    “application”: null,
    “application_fee_amount”: null,

    it does say “requires_payment_method” But it jumps to my thank you page, even customer click “cancel” at the bank login page

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @aseow155,

    Here is a direct copy of the plugin’s code when the payment_intent’s status is “requires_payment_method”.

    if ('failed' === $result->status || 'requires_payment_method' === $result->status) {
    				wc_add_notice ( __ ( 'Payment authorization failed. Please select another payment method.', 'woo-stripe-payment' ), 'error' );
    				$order->update_status ( 'failed', __ ( 'Payment authorization failed.', 'woo-stripe-payment' ) );
    				if ($result instanceof \Stripe\PaymentIntent) {
    					$order->update_meta_data ( WC_Stripe_Constants::PAYMENT_INTENT, $result->jsonSerialize () );
    				}
    				return;
    			} 

    The code performs a return which means the checkout page is rendered. Can you check your logs in WooCommerce and see if the $result object is somehow undefined? That’s the only way I can see that the checkout page wouldn’t render. This is not reproducible on my end.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘FPX – Local Payment Method’ is closed to new replies.