[accept_stripe_payment_checkout]

var stripe = Stripe(‘pk_test_ighqUxwLcUrKIYr1A9BhZemj00v7CF4egm’); var elements = stripe.elements(); \Stripe\Stripe::setApiKey(‘sk_test_YcpmVzIZrk7V2e6YjBspNRia004zIOtIQw’); $intent = \Stripe\PaymentIntent::create([ ‘amount’ => 150, ‘currency’ => ‘gbp’, // Verify your integration in this guide by including this parameter ‘metadata’ => [‘integration_check’ => ‘accept_a_payment’], ]);