Integração de pagamentos Stripe no comércio eletrónico

Detailed guide: how to create a Stripe account and get your Secret Key and Publishable Key
- Log in to the Stripe website
Go to stripe.com and click Sign Up. - Fill in the registration form
- Enter your email address, name and password.
- Agree to the terms and click Create Account.
- Confirm your email
After registration, Stripe will send an email with a link that you need to click to confirm your email address. - Log in to your Stripe account Return to the Stripe website and log in with your newly created credentials.
- Fill in your business information
When you log in for the first time, you will be asked to fill in information about your business:- Enter your company name, address and contact information.
- Select the business type (for example, sole proprietorship, company).
- Fill in information about your field of activity.
- Add your bank account, into which Stripe will transfer funds.
- Go to the “Developers” section
- Once logged in to your Stripe account, click Developers > API keys in the left menu.
- In this section you will find two key items: the Publishable Key and the Secret Key.
- Get the Publishable Key and Secret Key
- The Publishable Key will be visible right under the API keys section. This is a public key that is needed on your website.
- The Secret Key will be hidden. To view it, click the “Reveal live key token” button.
- Note: The Secret Key is confidential and should not be shared publicly.
- Add the keys to your e-commerce store settings
- Log in to the StartMsg platform, go to your store settings and enter the Stripe Publishable Key and Secret Key to integrate payments into your store.

- Check Stripe test mode (optional)
If you want to test payments, you can use Test Mode ou Sandbox. This mode lets you simulate payments using test cards. It is a great feature before launching your store with real payments.
Additional tips
- Protect your Secret Key: Since it is a sensitive data key, use it carefully and never publish it publicly. We recommend storing this key securely.
Stripe is a reliable, secure and easy-to-integrate payment processing solution that lets businesses quickly accept payments online and in mobile apps. Its flexibility, simple interface and global reach make it a popular choice for both small and large companies using StartMsg Comércio eletrónico and more.