cocoastorm / vue-paypal-checkout

A simple Vue.js wrapper component for paypal-checkout
MIT License
153 stars 67 forks source link

What the product should be fill? #34

Closed liaodalin19903 closed 6 years ago

liaodalin19903 commented 6 years ago

What the product should be fill?

    credentials: {
          sandbox: 'AcW3Gianx9XLI34YI3elOy2zsxRuZmTImNC7qAEGC2S0huoCrlM-oUo6jDkGY3rvMW0V6JMek2dyeRui',
          production: 'xxx'
        },
cocoastorm commented 6 years ago

Hey @liaodalin19903,

I'm not quite sure what you mean by "what the product should be fill?". Do you mean you're not sure where to specify the product's price and currency? Or are you not sure what to fill for production?

Regardless, the production key is where you would place your token for "PayPal live", this is used for real world transactions with PayPal.

The sandbox key is where you would place your token to use with testing your application, as it uses the "PayPal sandbox" environment, and any transactions made aren't real.

If you need to generate the tokens for both live and sandbox, you can go to https://developer.paypal.com/developer/applications/create

If you asking about where to specify the product information (currency, price, and etc) feel free to ask!

Cheers!