On this page
Why is choosing and securing a payment gateway a decisive decision for your store?
A payment gateway isn't a minor technical detail you pick on the last day before launch; it is the only meeting point between the customer's wish to buy and your ability to collect the money. Every decision you make here, from the gateway's name to the placement of the payment form, directly affects three numbers that matter to you: the order completion rate, net revenue after fees, and the level of legal and financial risk you carry.
The common mistake is for a store owner to think that "any gateway works." In reality, fee differences between one gateway and another can eat up your entire profit margin on low-priced products, and a gateway that forces a slow redirect or asks for extra details can noticeably raise your cart abandonment rate. On the security side, choosing a gateway that forces you to touch card data makes you fully responsible for PCI DSS compliance, a costly and complex responsibility for a small or mid-size store.
Securing the store, in turn, isn't a luxury. A WooCommerce store is built on WordPress, the most widespread content management platform, and therefore the most targeted. A vulnerability in an old plugin or a weak password on an admin account can turn into leaked orders, a script injected into the checkout page to steal customer data, or the store going down entirely in peak season. Security and profitability are two sides of the same coin: a customer who trusts that their payment is safe buys more and comes back again.
Before we dive into the details, remember that the payment gateway is part of a larger system that starts with choosing the right hosting. If you are still at the setup stage, see our guide on how to launch an online store from scratch to lay the right foundation before connecting a payment gateway.
What is the difference between a payment gateway, a payment processor and a merchant account?
Many people confuse three terms that appear together, and understanding the difference helps you read contracts and fees clearly.
| Term | Role | Example of what it does |
|---|---|---|
| Payment gateway | Carries encrypted payment data from the store to the network securely | Takes the card details and turns them into an authorization request |
| Payment processor | Communicates with banks and networks to carry out authorization and settlement | Requests approval from the customer's bank, then moves the funds |
| Merchant account | The intermediate account where funds are deposited before being transferred to your bank account | Holds the amounts, then settles them in batches |
In many modern solutions (all-in-one payment providers, known as aggregators), these three roles are combined into a single service, so you don't need to open a separate merchant account with a bank. This simplifies getting started, but it may mean less control over fees and settlement policies. Traditional solutions separate the components and give you more flexibility in exchange for more complex setup.
What are the types of payment gateways, and how do they differ in security and experience?
Classifying gateways by "where the card details are entered and who is responsible for them" is the most important practical classification, because it determines your compliance burden and affects the customer experience. There are four main patterns.
| Type | Where the card is entered | PCI burden on you | Customer experience | Note |
|---|---|---|---|---|
| Redirect | On the gateway's external site | The lowest | The customer leaves your store temporarily | Simplest compliance, less smooth experience |
| Hosted (hosted fields / iFrame) | Hosted fields inside your page via an iFrame | Low | Visually stays inside the store | A good balance between security and experience |
| Embedded in the page (onsite) | On the checkout page itself, in your design | Medium to high | The smoothest | Requires a bigger commitment |
| Direct API | Your store fully controls the data | The highest | Fully customizable | Suitable for technical teams only |
Redirect gateways
Here the customer is sent to a page on the gateway's domain to complete the payment, then returns to your store after the result. Because you never touch the card data, your PCI DSS compliance burden is at its minimum. The downside is that leaving the store, even for a few seconds, can worry some customers or break the buying rhythm, especially if the gateway's page looks very different from your store.
Hosted fields (hosted fields / iFrame)
In this pattern the checkout page stays on your domain, but the card input fields themselves are loaded inside an iFrame hosted on the gateway's servers. As a result, card data never passes through your server, so you keep a low compliance burden while the customer feels they never left your store. This pattern is the best choice for most stores that want an elegant experience without taking on full PCI responsibility.
Payment embedded in the page (onsite)
The payment fields appear as a natural part of your page design, and what the customer enters is sent directly to the gateway via JavaScript without being stored on your side. The experience here is the smoothest and converts best, but it raises your level of responsibility, because any vulnerability in your page could be exploited to intercept the data (formjacking attacks), which demands closer attention to site security.
Direct (server-to-server) API
The maximum level of control: your server receives the card data and then passes it to the gateway. This gives you full customization, but it puts you at the highest levels of PCI DSS compliance, and it is usually not justified except for large stores with specialized technical teams. For most store owners, avoiding this pattern is the smartest decision.
How do you choose the right payment gateway for your store?
There is no absolute "best gateway," only the best gateway for your situation. Evaluate your options against clear criteria instead of being swept along by the best-known name.
| Criterion | Why it matters | What to ask |
|---|---|---|
| Fees and rates | They directly affect your net profit | What is the transaction percentage and the fixed fee? Are there monthly fees? |
| Supported currencies | They determine your ability to sell internationally | Does it support my local currency and the currencies of my markets? |
| Local payment methods | They raise the conversion rate in your market | Does it support local cards and popular wallets? |
| Settlement cycle (payout) | It affects your cash flow | After how many days does the money reach me? |
| Checkout experience | Reduces cart abandonment | Redirect, hosted or onsite? |
| Technical support and language | Reduces downtime when problems occur | Is support available in Arabic, and when? |
| Integration with WooCommerce | Simplifies setup and maintenance | Is there an official, up-to-date plugin? |
| Security and compliance | Determines your legal responsibility | Does the gateway take on the PCI burden? |
A practical tip: don't compare fees by percentage alone. A gateway with a low fixed fee may be cheaper for large orders and more expensive for small ones, and vice versa. Calculate the real cost on your actual average order value, not on a theoretical number.
Weight the criteria according to your type of store
A store selling low-priced digital products cares more about the fixed fee per transaction, while a store selling luxury products cares about acceptance limits for international cards and the chargeback policy. A store selling monthly subscriptions needs a gateway that reliably supports recurring payments and tokenization. Set your priorities first, then match them with the gateways.
What are the common global and local gateways?
Here we present general categories without exaggeration or promotional recommendations, because each gateway's availability and fees vary by your country, your sector and when you read this. Always check the gateway's official site at setup time.
| Category | General character | Notes on the experience |
|---|---|---|
| All-in-one global gateways | Broad currency coverage and strong developer tools | Usually hosted/onsite with excellent WooCommerce integration |
| Wallets and payments via global platforms | Wide reach and trust among buyers | Often rely on redirects and make starting simple |
| Regional gateways for the Middle East | Support for local currencies and cards | Better for local acceptance and conversion rates |
| Local bank solutions (merchant account) | Direct integration with your bank | More complex setup and more flexible fees |
| Bank transfer / cash on delivery | No card processing required | Reduces online fraud but increases returns |
The practical rule: combine a global gateway to cover international cards with a regional gateway or a local method (a local card/wallet) to raise conversion among your local customers. Thoughtful diversity widens the range of people who can actually pay.
How do you set up a payment gateway in WooCommerce step by step?
Setup in WooCommerce is similar across gateways in broad strokes. The idea is always the same: install the gateway's official plugin, activate it, enter the API keys, configure the behavior, test in test mode, then switch to live mode.
- In the WordPress dashboard, go to Plugins > Add New, then search for the gateway's official plugin, install it and activate it.
- Go to WooCommerce > Settings > Payments, and you will find the gateway in the list of payment methods.
- Enable the gateway, then open its settings to enter the API keys (the public key and the secret key) that you get from the gateway's dashboard.
- Start in test/sandbox mode first, and place a test order with the test cards the gateway provides.
- Make sure the order notification arrives and the order status changes correctly, then switch to live mode once testing succeeds.
Configuring the advanced settings
After basic activation, review the finer options: the method title as the customer sees it, its description, enabling tokenization to save cards for registered customers, enabling 3D Secure, and setting the webhook URL if the gateway requires it to receive payment status updates automatically. The webhook is very important: without it, your store may not know that a pending payment was completed later.
Always test before launch
Don't publish a gateway without full testing: a successful transaction, a declined transaction, a partial refund, a full refund and an abandoned order. Record the results and confirm that the order statuses in WooCommerce match the gateway's dashboard. This testing saves you costly surprises on your first real day of sales.
How does a payment flow from the customer's click until the money arrives?
Understanding the payment journey helps you diagnose problems and secure every step. In short: the store sends the encrypted payment data to the gateway, the gateway requests authorization from the card network and the customer's bank, the result comes back, and then the funds are settled to your account later.
The process usually goes through two different time stages that many people confuse:
| Stage | What happens | Timing |
|---|---|---|
| Authorization | The customer's bank checks that the funds are available and holds them | Instant (seconds) |
| Capture & settlement | The funds are actually transferred to the merchant's account | Later (hours to days) |
This separation matters in practice: you may see a "successful authorization" while the money hasn't arrived yet, which is normal. Some gateways also allow "authorize only" at order time and "capture" at shipping time, which is good practice for products that are prepared manually.
What is the PCI DSS standard, and what does it mean for you in practice?
PCI DSS stands for Payment Card Industry Data Security Standard, a set of security requirements created by the card networks to protect cardholder data. Any party that handles card data, whether storing, processing or transmitting it, is required to meet a level of compliance proportionate to the volume it handles and how it accepts payments.
The key point for a store owner: the less your store comes into contact with actual card data, the lower your compliance burden. That is why redirect and hosted fields gateways are the smartest choice for most stores, since they shift most of the burden to the specialized gateway.
| Acceptance method | Who touches the card data | Compliance burden on you (simplified) |
|---|---|---|
| Redirect | The gateway only | The lowest: usually a simplified self-assessment questionnaire |
| Hosted Fields / iFrame | The gateway, via an iFrame | Low |
| Onsite (the gateway's JavaScript) | Passes through your page without being stored | Medium: requires securing the page carefully |
| Direct API | Your server | The highest: extended requirements and audits |
The PCI DSS principles that really matter to you
Without going into deep technical detail, here is the essence of what the standard requires, in a form you can apply:
| Principle | How it applies in your store |
|---|---|
| Don't store sensitive data you don't need | Never save full card numbers or the CVV code |
| Encrypt transmission | Enable HTTPS on the whole store, not just the checkout page |
| Restrict access | Give each employee only the minimum permissions they need |
| Update and monitor | Update WordPress and plugins, and monitor login logs |
| Test regularly | Scan the store for vulnerabilities on a regular basis |
Following these principles isn't just formal compliance; it is what actually protects your customers. And the simplest way to reduce the burden is not to touch card data at all.
What role do SSL/HTTPS and tokenization play in securing payments?
During payment, sensitive data travels across the internet, and without encryption it could be intercepted on the way. An SSL/TLS certificate creates an encrypted channel between the customer's browser and your server so that no intermediary can read the content. That is why HTTPS is a non-negotiable requirement, not just on the checkout page but across the entire store.
How does the handshake work? The browser and the server exchange keys to agree on encrypting the session, and the browser verifies the server's certificate before sending any sensitive data. Any "not secure connection" warning on the checkout page is enough to drive most customers away immediately. If you haven't enabled a certificate yet, see our practical guide to installing an SSL certificate and enabling HTTPS before anything else.
What is tokenization, and why do you need it?
Tokenization replaces the real card number with a worthless substitute code (a token) that the gateway stores on its side, while all that remains with you is this token. That way your registered customer can pay again or subscribe on a recurring basis without you ever storing their card number.
| Item | Storing card data yourself | Tokenization through the gateway |
|---|---|---|
| What is saved on your side | The sensitive card number (risky) | A substitute token with no value outside the gateway |
| Risks in a compromise | Leaking real card data | The token is useless to an attacker |
| PCI burden | Very high | Low |
| Recurring payments | Complex and risky | Supported securely |
The bottom line is simple: never store card data. Let the gateway handle it through tokenization, and you get the convenience of recurring payments without bearing a catastrophic responsibility in any compromise.
How do you secure the whole WooCommerce store, not just the gateway?
Securing payments is useless if the store's own front door is open. Your store is built on WordPress, which means its security follows WordPress security best practices, plus measures specific to commerce.
| Area | Action | Why |
|---|---|---|
| Updates | Keep the core, theme and plugins updated continuously | Most compromises exploit old, known vulnerabilities |
| User roles | Give each role the minimum permissions it needs | Limits the damage when a single account is compromised |
| Login | Strong passwords + two-factor authentication + login attempt limits | Fends off password guessing attacks |
| Firewall (WAF) | Enable a WAF at the server or CDN level | Blocks malicious requests before they arrive |
| Backups | Automatic scheduled off-server backups | Enables quick recovery after any incident |
| Fewer plugins | Delete what you don't use | Every plugin is a potential attack surface |
| Activity logs | Track who did what and when | Reveals suspicious behavior early |
| Sensitive files | Protect the admin dashboard and configuration files | Reduces the attacker's entry points |
The role of hosting in your store's security
Many layers of protection start with the hosting itself: account isolation, a server-level firewall, malware scanning and managed backups. Very cheap shared hosting can put you in a crowded environment that raises the risks, while managed hosting gives you better isolation and security. To weigh the options, see our comparison of shared, VPS and managed hosting to choose the right environment for the size of your store.
A WooCommerce store security checklist
| Item | Done? |
|---|---|
| HTTPS enabled on every page of the store | ☐ |
| WordPress core, WooCommerce and plugins up to date | ☐ |
| Two-factor authentication for every admin account | ☐ |
| A limit on failed login attempts | ☐ |
| User roles with the least privilege possible | ☐ |
| WAF enabled (server or CDN) | ☐ |
| Automatic scheduled off-server backups | ☐ |
| Unused plugins and themes deleted | ☐ |
| An activity log enabled to monitor changes | ☐ |
| No card data stored (tokenization only) | ☐ |
How do you protect your store from fraud and chargebacks?
Fraud and chargebacks are a direct financial risk: in a chargeback you may lose the product's value, the product itself and an extra dispute fee, and a rising chargeback rate can get the merchant account suspended. Prevention is much cheaper than cure.
Core protection tools
| Tool | What it does | When to enable it |
|---|---|---|
| 3D Secure | Requires extra verification by the customer's bank (code/fingerprint) | On high-value orders, or always, depending on your market |
| AVS (address verification) | Matches the billing address against the bank's record | For international card orders |
| CVV | Requires the code on the back of the card to prove possession | On every card transaction |
| Fraud detection rules | Automatically block or review suspicious orders | When suspicious patterns appear |
Indicators of suspicious orders
| Indicator | Why it raises suspicion |
|---|---|
| Card country differs from the shipping country and IP address | A common fraud pattern |
| Several consecutive failed payment attempts, then a success | Testing stolen cards |
| An unusually large order from a new account | High risk |
| Multiple identical orders within minutes | Possible automated fraud |
| An email address or phone number that looks random | Possibly fake details |
| A request for urgent shipping of a high-value product | Urgency to avoid detection |
How do you respond to a chargeback dispute?
When a dispute arrives, you need evidence. Keep the order records: the authorization confirmation, the IP address, the communication history, proof of delivery (a tracking number signed on receipt) and any acceptance of the terms. The more precise your documentation, the better your chance of winning the dispute. And for high-risk orders, manual review before shipping is a line of defense not to be underestimated.
An expert tip: don't chase zero fraud at the expense of conversion. Forcing 3D Secure on every small transaction can raise cart abandonment more than it saves. Set the rules based on risk: stricter verification for large and international orders, lighter for the usual small orders from your local market.
How do you improve the checkout experience and reduce cart abandonment?
Many lost sales have no cause other than unnecessary friction on the checkout page. With every extra field and every additional step, you lose some customers.
| Improvement | Impact |
|---|---|
| Guest checkout (no mandatory registration) | Removes the biggest psychological barrier to buying |
| Reduce the number of fields to the essentials only | Speeds up completion and reduces boredom |
| Show security badges and payment methods clearly | Raises trust at the moment of payment |
| A variety of payment methods (card/wallet/local) | Widens the range of people who can pay |
| Checkout page loading speed | A slow page is a direct cause of abandonment |
| Arabic and RTL support in the payment form | Reduces errors and hesitation |
| Show the full cost early | Shipping surprises drive customers away |
The speed of the checkout page deserves special attention, because it is the last point before the purchase and the most sensitive to slowness. To improve overall performance, see our guide to speeding up your website, because every extra second of loading costs you real sales.
Test the checkout experience as a real customer
The best test is to buy from your own store from a mobile device on a data network, not Wi-Fi. You will quickly notice any confusing field, any tiny button, any slow step. Repeat this regularly after every theme or plugin update.
Common mistakes with payment gateways and store security
| Mistake | Impact | The right approach |
|---|---|---|
| Enabling the gateway directly without sandbox testing | The first real orders fail | Test every scenario first |
| HTTPS on the checkout page only | Mixed content and security warnings | Enable HTTPS on the whole store |
| Storing card data "for convenience" | A catastrophic legal and security risk | Use tokenization through the gateway |
| Copying the secret API key to an exposed place | The account is leaked | Store keys securely and don't share them |
| Neglecting the webhook setup | Order statuses that don't update | Set up the webhook and verify it |
| Forcing registration before payment | High cart abandonment | Allow guest checkout |
| Neglecting updates for fear of breakage | Known, exploitable vulnerabilities | Update after a backup, on a staging environment |
| Only one gateway with no alternative | Lost sales when it goes down | Provide a backup payment method |
| Ignoring the chargeback rate | Suspension of the merchant account | Monitor the rate and address its causes |
Troubleshooting payment errors
The most common payment problems have recurring causes that you can diagnose quickly if you know where to look.
When payment fails
| Symptom | Likely cause | Fix |
|---|---|---|
| Every transaction is declined | Wrong API keys or mixed test/live mode | Check the keys and that the modes match |
| Only certain cards are declined | Card type/country not supported | Review the payment methods the gateway supports |
| Payment succeeds but the order stays "pending" | The webhook isn't arriving | Check the webhook URL and the logs |
| A "not secure connection" error | An SSL certificate problem | Renew/fix the certificate and enable HTTPS everywhere |
| A generic error message with no details | A plugin or cache conflict | Disable plugins one at a time and clear the cache |
When transactions repeat or customers are charged twice
A double charge is usually apparent, not real: what you see may be an "authorization" that will be cancelled automatically, not a final charge. Always check the gateway's dashboard, not just the bank notification. Causes of actual duplication include the customer clicking the pay button twice because the page is slow, or an automatic retry after a dropped connection. The fixes: disable the pay button after the first click, use a unique transaction key (idempotency key) if the gateway supports it, and check the transaction's status before retrying.
When there are currency conversion problems
| Problem | Cause | Remedy |
|---|---|---|
| The amount charged differs from what the customer saw | Currency conversion at the customer's bank | Explain that the bank may apply its own rate and fees |
| Certain currencies are declined | The gateway doesn't support them | Enable a suitable gateway for that currency |
| Rounding differences in amounts | Different decimal places between currencies | Adjust the currency settings in WooCommerce |
| Unexpected conversion fees for the merchant | The gateway's settlement policy | Review conversion fees before signing up |
A tip: if your audience is international, consider showing prices in the customer's local currency wherever possible. Transparency about currency and the full cost reduces disputes and chargebacks caused by an "unexpected amount."
Expert tips for managing payments securely and professionally
Always rely on more than one payment method so your sales don't stop when one gateway goes down. Monitor your numbers monthly: the card acceptance rate, the cart abandonment rate, the chargeback rate and net fees. These indicators reveal problems before they escalate. Keep a separate staging environment where you try any theme or plugin update before pushing it to the live store, because a reckless update in peak season can cost you more than any compromise. Finally, treat payment security as an ongoing process, not a one-time setup: review permissions, backups and login logs on a fixed, regular schedule.
Conclusion
Choosing a payment gateway and securing a WooCommerce store are interconnected decisions that together determine your profitability and your customers' trust. For most Arab stores, the smartest path is a redirect or hosted gateway that reduces the PCI DSS burden, supported by a local payment method that raises conversion, HTTPS across the whole store, and tokenization instead of storing card data. Store security is an integrated system: updates, precise permissions, login protection, a WAF and backups. To limit fraud and chargebacks, configure 3D Secure, AVS and CVV based on risk, watch the indicators of suspicious orders, and document every transaction so you can defend yourself in any dispute. Apply the checklists in this guide step by step, test the checkout experience as a real customer, and you will have a store that sells more and protects its customers at the same time.
Frequently asked questions
Do I need an SSL certificate for a WooCommerce store? Yes, and it is non-negotiable. An SSL certificate encrypts payment data and prevents the security warnings that drive customers away. Enable HTTPS on the entire store, not just the checkout page, to avoid the "mixed content" problem and to preserve customer trust and your search ranking.
What is the best type of payment gateway for a small or mid-size store? Redirect or hosted fields gateways are usually the best fit, because they shift most of the PCI DSS compliance burden to the gateway and reduce your security responsibility. Hosted fields give you a good balance: a smooth experience inside your store without you actually touching card data.
Can I store my customers' card details to make repeat payments easier? Never store card numbers or the CVV code yourself. Use tokenization through the gateway, where the gateway keeps a substitute token instead of the real data. That way you support repeat payments and subscriptions securely without taking on the risks of storage.
How much do payment gateway fees usually cost? Fees vary by gateway, country and card type, and they usually consist of a percentage of the transaction value plus a fixed fee per transaction, and fees may be added for international orders or currency conversion. Calculate the real cost on your actual average order value instead of comparing by percentage alone, and always check the gateway's official site at setup time.
What is the difference between authorization and capture in a payment? Authorization is an immediate check that the funds are available and a hold on them, while capture/settlement is the actual transfer of the money to your account and happens hours or days later. That is why you may see a "successful authorization" before the money arrives, which is completely normal behavior.
How do I reduce cart abandonment at checkout? Allow guest checkout without mandatory registration, reduce the fields to the essentials only, show the full cost early, offer a variety of payment methods, and improve the speed of the checkout page. Test the experience as a real customer on a mobile device to uncover any hidden friction.
What is a chargeback, and how do I avoid it? A chargeback is a dispute in which the customer asks their bank to reverse a transaction, and it can cost you the product, its value and an extra fee. Avoid it by enabling 3D Secure, AVS and CVV, reviewing suspicious orders manually, and documenting proof of delivery and communication so you can defend yourself in any dispute.
Is one payment gateway enough? It is better to enable more than one payment method. A single gateway means your sales stop entirely if it goes down, and combining a global gateway with a local method widens the range of people who can pay and raises the conversion rate among your local customers.
Why does the payment succeed but the order stays "pending" in WooCommerce? The most common reason is that the webhook through which the gateway notifies your store of the payment result doesn't arrive. Check that the webhook URL is set correctly and review the gateway's logs, and make sure the firewall isn't blocking incoming requests from the gateway.
Does hosting really affect my store's security? Yes, significantly. Hosting provides core layers such as account isolation, a server firewall, malware scanning and managed backups. Managed hosting specialized in WordPress usually gives you better security and isolation than very low-cost shared hosting.
Frequently asked questions
Do I need an SSL certificate for a WooCommerce store?
Yes, and it is non-negotiable. An SSL certificate encrypts payment data and prevents the security warnings that drive customers away. Enable HTTPS on the entire store, not just the checkout page, to avoid the "mixed content" problem and to preserve customer trust and your search ranking.
What is the best type of payment gateway for a small or mid-size store?
Redirect or hosted fields gateways are usually the best fit, because they shift most of the PCI DSS compliance burden to the gateway and reduce your security responsibility. Hosted fields give you a good balance: a smooth experience inside your store without you actually touching card data.
Can I store my customers' card details to make repeat payments easier?
Never store card numbers or the CVV code yourself. Use tokenization through the gateway, where the gateway keeps a substitute token instead of the real data. That way you support repeat payments and subscriptions securely without taking on the risks of storage.
How much do payment gateway fees usually cost?
Fees vary by gateway, country and card type, and they usually consist of a percentage of the transaction value plus a fixed fee per transaction, and fees may be added for international orders or currency conversion. Calculate the real cost on your actual average order value instead of comparing by percentage alone, and always check the gateway's official site at setup time.
What is the difference between authorization and capture in a payment?
Authorization is an immediate check that the funds are available and a hold on them, while capture/settlement is the actual transfer of the money to your account and happens hours or days later. That is why you may see a "successful authorization" before the money arrives, which is completely normal behavior.
How do I reduce cart abandonment at checkout?
Allow guest checkout without mandatory registration, reduce the fields to the essentials only, show the full cost early, offer a variety of payment methods, and improve the speed of the checkout page. Test the experience as a real customer on a mobile device to uncover any hidden friction.
What is a chargeback, and how do I avoid it?
A chargeback is a dispute in which the customer asks their bank to reverse a transaction, and it can cost you the product, its value and an extra fee. Avoid it by enabling 3D Secure, AVS and CVV, reviewing suspicious orders manually, and documenting proof of delivery and communication so you can defend yourself in any dispute.
Is one payment gateway enough?
It is better to enable more than one payment method. A single gateway means your sales stop entirely if it goes down, and combining a global gateway with a local method widens the range of people who can pay and raises the conversion rate among your local customers.
Why does the payment succeed but the order stays "pending" in WooCommerce?
The most common reason is that the webhook through which the gateway notifies your store of the payment result doesn't arrive. Check that the webhook URL is set correctly and review the gateway's logs, and make sure the firewall isn't blocking incoming requests from the gateway.
Does hosting really affect my store's security?
Yes, significantly. Hosting provides core layers such as account isolation, a server firewall, malware scanning and managed backups. Managed hosting specialized in WordPress usually gives you better security and isolation than very low-cost shared hosting.