I’m making a customized plugin of a number of Stripe for woocommerce and I’ve a problem with the payment_intent
API. I’m utilizing Stripe php library for a similar.
$payDetails = StripePaymentIntent::create(array(
'buyer' => $customer->id,
'quantity' => $itemPrice,
'forex' => $forex,
'description' => $itemName,
'metadata' => array(
'order_id' => $orderID
),'confirmation_method' => 'handbook',
'verify' => true,'use_stripe_sdk'=> true
));
So I need to show a affirmation popup to authenticate the cardboard on the server-side and as soon as confirmed it wants to finish the order.