<PayPalButton amount={total} currency={currency} options={{ currency: currency.toUpperCase(), clientId: PAYPAL_CLIENT_ID, }} ...