Appearance
S3-Compatible Storage
FluentCart can store your digital product files with almost any cloud storage service that supports the S3 API, not only Amazon S3. If your provider gives you an endpoint, an access key and a secret key, you can connect it to FluentCart and deliver your downloads from there.
This page explains what S3 is, how it works, and how to connect any S3-compatible service. For step-by-step walkthroughs of specific providers, see the Tigris and Backblaze B2 guides.
INFO
S3-compatible providers require FluentCart Pro. Amazon S3 itself has its own built-in driver, described in the Amazon S3 guide.
What Is S3?
S3 (Simple Storage Service) started as Amazon's cloud storage service. Its way of storing and fetching files, the S3 API, became the common language of cloud storage. Today many other companies offer storage that speaks the same API, so any tool built for S3 can work with them too. These services are called S3-compatible.
S3 is object storage. Instead of folders on a hard drive, it keeps files as objects inside buckets:
- Bucket: a container for your files, like a top-level folder. Each bucket has a name that is unique within the provider.
- Object: a single file, such as
course-videos/lesson-1.mp4. The slashes in the name work like folders. - Endpoint: the web address of the provider's S3 API, for example
https://s3.us-west-004.backblazeb2.com. - Region: the data center location where the bucket lives, for example
us-west-004ornyc3. Some providers useauto. - Access key and secret key: a pair of credentials, like a username and password, that allow an app to read and write your buckets.
How It Works with FluentCart
- You upload a file. When you attach a downloadable asset to a product, FluentCart sends the file to your bucket over HTTPS. Every request is signed with your secret key, so the provider knows it comes from you. The secret key itself is never sent.
- The file stays private. Your bucket does not need to be public. Nobody can open the file without a signed request.
- A customer buys the product. When they click download, FluentCart creates a signed download link: a temporary address that includes a signature and an expiry time. The customer downloads the file straight from your storage provider, not through your WordPress server.
- The link expires. Signed links last up to 7 days, the longest the S3 API allows. Each time the customer clicks download, FluentCart creates a new link.
Because files are served by the storage provider, large downloads do not slow down your website or fill up your server's disk.
Supported Providers
Any service that offers an S3-compatible API should work, including:
| Provider | Endpoint example | Region example |
|---|---|---|
| Tigris | https://t3.storage.dev | auto |
| Backblaze B2 | https://s3.us-west-004.backblazeb2.com | us-west-004 |
| DigitalOcean Spaces | https://nyc3.digitaloceanspaces.com | nyc3 |
| Wasabi | https://s3.us-east-1.wasabisys.com | us-east-1 |
| Linode (Akamai) Object Storage | https://us-east-1.linodeobjects.com | us-east-1 |
| MinIO | Your server's public HTTPS address | As set on your server |
Your provider's dashboard shows the exact endpoint and region, usually next to the bucket.
Services that do not speak the S3 API, such as Google Drive, Dropbox, OneDrive or FTP, cannot be connected this way.
What You Need from Your Provider
Before you start, collect these from your storage provider:
- Endpoint: the S3 API address, starting with
https://, with no bucket name or path. - Region: shown with the endpoint. Use
autoonly if your provider does not name a region. - Access key and secret key: create a key that can read, write and delete files in your bucket. Many providers show the secret only once, so save it when you create it.
- Bucket: create a private bucket for your product files.
Connecting a Provider
The screens are the same for every provider. The screenshots below use Tigris as the example.
Step 1: Add the Provider
- Go to FluentCart Pro > Settings > Storage Settings.
- On the Storage Providers screen, click Add provider.
- In the Add S3-compatible provider dialog, enter:
- Name: any name you like, for example
DigitalOcean Spaces. Only you see it, in the storage list and the product file picker. - Endpoint: the S3 API address, for example
https://nyc3.digitaloceanspaces.com.
- Name: any name you like, for example
- Click Add provider.
The provider appears in the list as Inactive, and FluentCart opens its setup: Connection, then Bucket.
Step 2: Enter the Connection Details
On the Connection step, check the Name and Endpoint, then fill in:
- Region: the region from your provider, or
autoif it does not name one. - Access Key and Secret Key: your provider's credentials. Spaces at the start or end are removed automatically.
Click Next.
Path-Style Requests
Under Advanced settings, Path-style requests decides how FluentCart builds file addresses:
- On (default):
https://host/bucket/file. Works with almost every provider, and is required for MinIO, endpoints that are an IP address, and bucket names that contain dots. - Off (virtual-hosted style):
https://bucket.host/file. Turn it off only if your provider asks for it, for example Alibaba Cloud OSS.
Step 3: Choose the Bucket
On the Bucket step, under Connect an existing bucket, either:
- Enter bucket name: type the bucket's name. This works with any key.
- Select from existing: pick from the buckets your key can list. Use Search buckets or Reload bucket list if yours is missing.
Click Save Settings. FluentCart tests the connection while it saves and shows Connected. Bucket "your-bucket" is reachable with these keys. when everything is correct.
Step 4: Enable the Provider
On the provider page, switch on the toggle at the top right. The badge changes to Active, and the provider shows up when you attach files to products.
Managing a Connected Provider
- Check again: tests the connection with the saved settings.
- Edit Config: reopens the setup steps. Leave a key field empty to keep the saved key. If you change the Endpoint, you must enter both keys again.
- Toggle: turns the provider off or on without losing its settings. Turning it off does not delete any files.
- Delete: removes the provider from FluentCart. Your files stay at the provider. FluentCart blocks the delete while product downloads still use files stored there, and tells you how many.
You can add as many providers as you like and keep several active at once.
Using It for Product Files
When you add a downloadable asset to a digital product, click Choose File. The Storage Providers dialog lists each active provider by the name you gave it. Select one to pick an existing file (Select Files) or upload a new one (Upload).
Security
- Keys are encrypted. FluentCart stores your access key and secret key encrypted in the database and never sends them back to the browser. The key fields show Saved. Enter a new key to replace it. instead.
- Keys only go to their own endpoint. Saved keys are only ever sent to the endpoint they were saved with. That is why changing the endpoint asks for the keys again.
- Public HTTPS endpoints only. FluentCart only connects to public
https://addresses. Endpoints on private, local or reserved network addresses are refused. - Use a limited key. Give the key access only to the bucket FluentCart uses, with read, write and delete permissions. Avoid account-wide master keys.
Troubleshooting
FluentCart shows a specific message when the connection check fails:
| Message | What to do |
|---|---|
| The provider does not know this access key. | The access key is wrong or was deleted at the provider. Copy it again. |
| The secret key does not match the access key. | The secret belongs to another key or was cut short. Copy both values from the same key. |
| Bucket "…" does not exist at this endpoint. | Check the bucket name, and that the endpoint is for the bucket's region. |
| The bucket is in another region. Set Region to … | Enter the region the message names. |
| The region does not match the bucket. Check the Region setting. | Enter the region shown next to your endpoint at the provider. |
| The keys work, but they may not list bucket "…". | Give the key permission for this bucket. |
| This key cannot list buckets. Enter the bucket name instead. | Use Enter bucket name on the Bucket step. |
| The endpoint answered, but not as S3 storage. | The address is not the S3 API endpoint. Copy the S3 endpoint from your provider. |
| Enter the endpoint as https://host, with no path. | Remove the bucket name and anything after the host. |
| The endpoint points to a private, loopback or reserved address. | Use the provider's public HTTPS address. |
| The endpoint host does not resolve. | Check the address for typos. |
| This bucket name cannot be part of a host name. Turn on path-style requests. | Switch Path-style requests back on. |
| Storage requests need the PHP cURL extension. | Ask your host to enable PHP cURL. |
Uploads or deletes fail but the connection check passes. The key is probably read-only. Give it read, write and delete access to the bucket.
I cannot switch the provider on. FluentCart needs the access key, secret key and bucket before it can enable a provider. Finish both setup steps and save first.
Provider Guides
- Tigris: global object storage with no download (egress) fees.
- Backblaze B2: low-cost storage. The region must match your endpoint.
