Title: SmartPay Payments for WooCommerce
Author: starnetwork
Published: <strong>2024-02-05</strong>
Last modified: 2026-10-25

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/wc-smartpay.svg)

# SmartPay Payments for WooCommerce

 By [starnetwork](https://profiles.wordpress.org/starnetwork/)

[Download](https://downloads.wordpress.org/plugin/wc-smartpay.1.2.3.zip)

 * [Details](https://tt.wordpress.org/plugins/wc-smartpay/#description)
 * [Reviews](https://tt.wordpress.org/plugins/wc-smartpay/#reviews)
 *  [Installation](https://tt.wordpress.org/plugins/wc-smartpay/#installation)
 * [Development](https://tt.wordpress.org/plugins/wc-smartpay/#developers)

 [Support](https://wordpress.org/support/plugin/wc-smartpay/)

## Description

SmartPay Payments connects your WooCommerce store to the SmartPay.co.il payment 
gateway. Customers pay at checkout with the payment method of their choice, and 
every transaction is processed and recorded by SmartPay.

The plugin works with both the classic checkout and the WooCommerce Blocks checkout.

#### Payment methods

 * **Credit card** – on the SmartPay hosted payment page (iframe) or with embedded
   hosted fields directly in your checkout. Card data never touches your server.
 * **Apple Pay** and **Google Pay** digital wallets.
 * **Bit** – the Israeli instant-payment app.
 * **Multipass** – stored-value vouchers. A customer can redeem one or more vouchers
   and complete the remaining amount by credit card. Vouchers on orders left unpaid
   are released automatically.

#### Store management

 * Authorize-and-capture or immediate charge, selected per store.
 * Refunds and voids from the WooCommerce order screen, including partial refunds
   of individual Multipass vouchers.
 * WooCommerce Subscriptions support: renewals are charged with a saved payment 
   token.
 * Payment method icons on checkout, a sandbox mode for testing, and a request log
   in the admin area.
 * Works together with the separate SmartPay Invoices for WooCommerce plugin, which
   issues tax documents for paid orders.

#### Requirements

A SmartPay.co.il merchant account with API credentials (API key and API secret).
Multipass, Apple Pay, Google Pay and Bit must be enabled on your SmartPay terminal.

### External services

This plugin sends checkout and order data to the SmartPay.co.il payment gateway 
in order to process payments, refunds and voucher redemptions. Depending on the 
operation mode selected in the settings (production or sandbox), requests go to:

 * https://api.protected-payment.com/ (production)
 * https://sandboxapi.smartpay.co.il/ (sandbox)

The hosted payment page and hosted fields are served from SmartPay servers. The 
hosted fields script is loaded on the checkout page from https://app13.smartpay.
co.il/ only when the embedded card form is enabled; the card fields themselves load
from the address SmartPay returns for the checkout session. Data sent includes the
order amount, currency, order number, customer billing and shipping details, and,
for Multipass, the voucher card number entered by the customer.

SmartPay.co.il terms of use and privacy policy: https://www.smartpay.co.il/terms/

## Installation

 1. Install the plugin through the WordPress plugins screen, or upload the `wc-smartpay`
    folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Go to **WooCommerce > Settings > Payments** and enable **SmartPay**.
 4. Enter your SmartPay.co.il API key and API secret.
 5. Enable the additional payment methods (Apple Pay, Google Pay, Bit, Multipass) you
    want to offer and save.

## FAQ

### How do I obtain SmartPay.co.il API credentials?

Log in to your SmartPay dashboard and open the terminal settings, or contact SmartPay.
co.il support.

### Does the plugin store card numbers?

No. Card details are entered on the SmartPay hosted page or in hosted fields served
by SmartPay, and are never sent to or stored on your WordPress site. Subscription
renewals use an opaque payment token issued by SmartPay.

### Which currencies are supported?

Credit card, Apple Pay, Google Pay and Bit follow your SmartPay terminal configuration.
Multipass vouchers are available for orders in Israeli shekels (ILS) only.

### Is the plugin compatible with the WooCommerce Blocks checkout?

Yes. The plugin registers its payment methods for the Blocks checkout as well as
the classic checkout.

### I installed SmartPay Payments from a zip file in a smartpay-payments folder. How do I switch to this version?

Install and activate this plugin, then deactivate the old SmartPay Payments copy
on the Plugins screen. While both copies are installed, this one stays paused and
shows a notice. After the old copy is deactivated, your payment settings are carried
over, and orders, subscriptions and saved cards are updated in the background. You
can then delete the old copy.

### Is the plugin compatible with the latest version of WooCommerce?

Yes. The plugin is updated regularly to stay compatible with current WooCommerce
releases.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“SmartPay Payments for WooCommerce” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ starnetwork ](https://profiles.wordpress.org/starnetwork/)

[Translate “SmartPay Payments for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/wc-smartpay)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wc-smartpay/), check
out the [SVN repository](https://plugins.svn.wordpress.org/wc-smartpay/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/wc-smartpay/) by
[RSS](https://plugins.trac.wordpress.org/log/wc-smartpay/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.3

 * Fixed: sandbox mode now uses the public SmartPay sandbox (https://sandboxapi.
   smartpay.co.il/v1/). It pointed at an internal host that sandbox credentials 
   don’t work on.
 * Fixed: a declined card in the embedded card form (hosted fields) showed “Invalid
   or missing payment token fields” instead of the decline message. The decline 
   now reaches the shopper, is recorded on the order, and nothing is saved. A timeout
   or an error page from SmartPay shows a “try again” message and leaves a note 
   to check the charge before charging again.
 * Fixed: an approved charge was not marked paid when its card token could not be
   saved. The order is now marked paid and the token error is recorded as an order
   note.
 * Fixed: a subscription renewal or manual capture that received an error page instead
   of an answer from SmartPay was marked paid. It now stays unpaid with an order
   note.
 * The SmartPay Invoices plugin is no longer gated on a live SmartPay lookup at 
   invoice time. The plugin already confirms every charge with SmartPay before it
   marks an order paid, so the invoice check now trusts that order state (and, for
   Multipass orders, the recorded voucher legs). One fewer API call per paid order,
   and an API hiccup or contract change can no longer stop invoicing on every store
   at once.

#### 1.2.2

 * Fixed: no invoice was created by the SmartPay Invoices plugin for stores whose
   Payment Action is “Charge Create Token” (and for the card part of Multipass orders).
   Before letting the invoices plugin document a paid order the plugin confirms 
   the charge at SmartPay, and it always looked it up as an authorization, which
   never finds a capture. The charge is now looked up with the action the order 
   was paid with, then with the configured Payment Action, then with the remaining
   kinds; a lookup that still finds nothing is written to the SmartPay log with 
   the transaction id, and the check runs once per order instead of twice. Stores
   that updated from 1.0.30 (which never performed this check) lost invoice automation
   at that update; the missing documents can be created from the Orders list.
 * The transaction lookup no longer repeats an identical request when no separate
   charging terminal is configured.
 * Fixed orders left “pending payment” when the shopper returned from the payment
   page by GET: the return handler read the wrong query parameter and WordPress 
   answered 404. The order is now resolved from moreinfo1 in the body or query string,
   or from the order key in the return URL, and a return without transaction parameters
   looks the charge up at SmartPay by order id before marking the order paid.

#### 1.2.1

 * Security: request data read from the gateway callbacks, the return URL and the
   admin order screen is now sanitized at every nesting level.
 * Security: the SmartPay log screen builds its queries with prepared statements,
   only sorts by its own columns, escapes every value it prints, and the Clear Log
   button is protected by a nonce and requires the Manage WooCommerce capability.
 * The gateway title and description on the settings and checkout pages are escaped
   instead of being passed to a translation function.

#### 1.2.0

 * Multipass stored-value vouchers: pay with one or more vouchers and complete the
   remaining amount by credit card. ILS orders only. Voucher card numbers are held
   encrypted in the session until the order is placed and are masked in all logs.
 * Multipass order management: a voucher table on the order screen with partial 
   refunds and cancellation per voucher, bulk void from the orders list, discount
   cards recorded as their own order line, and automatic release of vouchers on 
   orders left unpaid.
 * Embedded hosted fields: take card payments directly in the checkout form, as 
   an alternative to the hosted payment page.
 * Payment method icons on checkout.
 * Friendlier messages for shoppers when the payment service cannot be reached, 
   with the technical detail kept in order notes.
 * The transaction method and source are now sent to and saved from SmartPay.
 * Fixed repeated capture attempts on the same transaction.
 * Card details on order payments: the card approval number is saved with the order,
   and split Multipass payments report each payment’s last 4 digits, brand, approval
   number and date, so SmartPay Invoices can print them on the receipt.
 * Hebrew translations.
 * Moving from the SmartPay Payments copy distributed in a smartpay-payments folder:
   settings, orders, subscriptions and saved cards are carried over after that copy
   is deactivated.
 * The plugin no longer runs its own update check or turns on automatic updates.
   Updates come through WordPress.org as for any other plugin.

#### 1.0.30

 * allow=”payment” attribute added to the payment iframe.

#### 1.0.29

 * Phone number sanitization.

#### 1.0.27

 * Support for Bit (via Grow and via UPay), Apple Pay and Google Pay.

#### 1.0.26

 * Orders sync.
 * Bug fixes.

#### 1.0.24

 * Update fixes.
 * Bug fixes.

#### 1.0.19

 * IPN data update fix.
 * Support for more order statuses.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.2.3**
 *  Last updated **4 көн ago**
 *  Active installations **10+**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wc-smartpay/)
 * Tags
 * [apple pay](https://tt.wordpress.org/plugins/tags/apple-pay/)[credit card](https://tt.wordpress.org/plugins/tags/credit-card/)
   [google pay](https://tt.wordpress.org/plugins/tags/google-pay/)[payment gateway](https://tt.wordpress.org/plugins/tags/payment-gateway/)
   [woocommerce](https://tt.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://tt.wordpress.org/plugins/wc-smartpay/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wc-smartpay/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wc-smartpay/reviews/)

## Contributors

 *   [ starnetwork ](https://profiles.wordpress.org/starnetwork/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wc-smartpay/)