Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to change currency in react-paypal-button-v2

      <PayPalButton
           amount={total}
           currency={currency}
           options={{
             currency: currency.toUpperCase(),
             clientId: PAYPAL_CLIENT_ID,
           }}
...
Source by www.gitmemory.com #
 
PREVIOUS NEXT
Tagged: #change #currency
ADD COMMENT
Topic
Name
3+8 =