PHP Classes

File: pizzerine/src/components/Checkout/StripeContainer.js

Recommend this page to a friend!
  Classes of Hillary Kollan   React Laravel Stripe MailJet Pizza Ordering   pizzerine/src/components/Checkout/StripeContainer.js   Download  
File: pizzerine/src/components/Checkout/StripeContainer.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: React Laravel Stripe MailJet Pizza Ordering
Web application to process orders of Pizza
Author: By
Last change:
Date: 1 year ago
Size: 448 bytes
 

Contents

Class file image Download
import { Elements } from '@stripe/react-stripe-js'; import { loadStripe } from '@stripe/stripe-js'; import React from 'react' import settings from '../../Helpers/Url' import Checkout from './Checkout'; export default function StripeContainer() { const PUBLIC_KEY = settings.stripePublicKey; const stripeTestPromise = loadStripe(PUBLIC_KEY); return ( <Elements stripe={stripeTestPromise}> <Checkout /> </Elements> ) }