Title: OpenApp Gateway for woocommerce
Author: Jarosław Krupa
Published: <strong>20 فوریه 2024</strong>
Last modified: 18 آوریل 2026

---

جستجوی افزونه‌ها

![](https://ps.w.org/openapp-payment-gateway/assets/banner-772x250.png?rev=3041962)

![](https://ps.w.org/openapp-payment-gateway/assets/icon-256x256.png?rev=3038500)

# OpenApp Gateway for woocommerce

 توسط [Jarosław Krupa](https://profiles.wordpress.org/openapppl/)

[دانلود](https://downloads.wordpress.org/plugin/openapp-payment-gateway.2.4.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/openapp-payment-gateway/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/openapp-payment-gateway/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/openapp-payment-gateway/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/openapp-payment-gateway/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/openapp-payment-gateway/)

## توضیحات

The OpenApp Gateway for woocommerce plugin integrates OpenApp as a payment method
within your WooCommerce store. Customers can scan QR code in cart or during checkout
and make payments directly from OA mobile app.

### Third-Party Service Disclosure

This plugin relies on OpenApp, a third-party service, to process payments. When 
using this plugin, data may be transmitted to OpenApp for payment processing. Additionally,
this plugin dynamically loads a JavaScript file from OpenApp’s servers to render
QR code.

For more details on how OpenApp handles data, please visit:

OpenApp Service: https://open-app.com
 OpenApp Terms of Use: https://open-app.com/
terms-and-conditions/

This plugin makes use of an external JavaScript file hosted by OpenApp to facilitate
payment processing:

 * Domain: https://static.prd.open-pay.com
 * JavaScript File: openapp.min.1.0.0.js
 * Purpose: To render the OpenApp QR code needed for payment gateway functionality
   within WooCommerce.

By using this plugin, you agree to the terms of use of OpenApp. It is important 
to review these documents to ensure compliance with data protection regulations 
relevant to your business and location.

### Features

 * Adds OpenApp as a payment gateway in WooCommerce.
 * Embed QR codes using shortcodes
 * Login using OA login feature

## نصب

 1. Upload the plugin files to the `/wp-content/plugins/openapp-payment-gateway` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Go to WooCommerce > Settings > Payments and enable ‘OpenApp’.
 4. Configure the payment gateway settings as required.
 5. Navigate to WooCommerce > Shipping > Shipping zones > Poland and update the details.
    Assign OpenApp mapping to each shipping method that you wish to display in the 
    OpenApp application.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“OpenApp Gateway for woocommerce” نرم افزار متن باز است. افراد زیر در این افزونه
مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Jarosław Krupa ](https://profiles.wordpress.org/openapppl/)
 *   [ openapp ](https://profiles.wordpress.org/openapp/)

[ترجمه “OpenApp Gateway for woocommerce” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/openapp-payment-gateway)

### علاقه‌ مند به توسعه هستید؟

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

## گزارش تغییرات

#### 2.4 – 2026-04-18

 * Bump internal gateway version constant for asset compatibility tracking

#### 2.3 – 2026-04-18

 * Added delta sync support for `/products` endpoint (modified_after, response modified
   field, validation and pagination refactor)
 * Added `brand` field to `/products` endpoint

#### 2.0.2 – 2026-03-16

 * Fix out-of-stock errors in `/basket` and `/basket_recalculate`
 * Fix `/products?full=yes` crash on large catalogs (auto-pagination)

#### 2.0.1 – 2026-03-10

 * Fixed: Race condition – status sync firing before POST /order response

#### 2.0 – 2025-12-10

 * Major: Complete code architecture refactor – gateway class split into modular
   PHP traits for better maintainability
 * Improved: Optimized delivery options calculations
 * Improved: Better basket handling with quantity error reporting and discount support
 * Improved: Enhanced product image handling in products API
 * Improved: Simplified cart session with better cart ownership verification
 * Improved: Public endpoints now return default data on errors for better compatibility
 * Fixed: PHP warning in order handling
 * Fixed: Variable product variation_id handling
 * Fixed: Basket/change endpoint when product has no image
 * Fixed: SSE redirect URL for sites without pretty permalinks
 * Fixed: Block checkout/cart rendering
 * Fixed: oaLoginUrl compatibility

#### 1.54

 * Changed order status mapping: ‘completed’ now maps to ‘SHIPPED’ instead of ‘DELIVERED’
 * Updated OpenApp QR library to version 1.1.0

#### 1.53

 * Show APM details in shipping address (Orlen Paczka)

#### 1.52

 * Enhanced `/wp-json/openapp/v1/products` endpoint with HMAC response signing

#### 1.51

 * Enhanced `/wp-json/openapp/v1/products` endpoint with pagination

#### 1.50

 * Updated OpenApp QR widget library URL to latest version (1.0.0)

#### 1.49

 * Fixed basketValue calculation in POST /openapp/v1/basket endpoint
 * Improved price calculation logic for better precision handling

#### 1.48

 * Updated return handling to support per-product return types (CLAIM/WITHDRAWAL)
   instead of return-level types

#### 1.47

 * Added return management: accept/reject return requests from OpenApp
 * Update order transaction ID on successful order

#### 1.46

 * Fix 403 invalid_auth for POST `/basket`

#### 1.45

 * Added POST `/basket` endpoint for cart initialization

#### 1.44

 * validate all products exist before creating the order

#### 1.43

 * Introduced new `basket_recalculate` REST API endpoint

#### 1.42

 * Added new REST API endpoint `openapp/v1/products` to retrieve WooCommerce products
   with support for `full` parameter to control detailed output.

#### 1.41

 * Fixed rest_cookie_invalid_nonce error for oa_login shortcode caused by cache 
   plugin when nonce is older than 12-24 hours.

#### 1.40

 * Improved: Shortened `basketId` for QR codes from 32 characters to 10 characters

#### 1.39

 * Fixed: Updated JSON encoding in request bodies to ensure proper handling of special
   characters and prevent escaping of slashes in URLs.

#### 1.38

 * Added: Option for real-time cart synchronization with the OpenApp mobile app.
 * Updated: Payment method title set to ‘OpenApp’.

#### 1.37

 * Updated `deliveryOptions` to only display the cheapest option for multiple methods
   sharing the same key.
 * Changed `oa_status_changed` method to utilize the `multiFulfillment` endpoint
   instead of the `fulfillment`.

#### 1.36

 * Update: Now using WooCommerce `order_number` instead of `order_key` for data 
   sent to OpenApp.

#### 1.35

 * Improved order processing sequence to ensure shipping details are included in
   the initial order confirmation email. Previously, the order status update was
   triggered prematurely, omitting shipping information.

#### 1.34

 * Updated the plugin directory name and main PHP file to align with the public 
   plugin directory listing requirements.
 * Fixed a deprecation warning by replacing the `FILTER_SANITIZE_STRING` constant.

#### 1.33

 * Fixed an issue where the payment method was not displayed during checkout and
   in the initial order confirmation email.

#### 1.32

 * Improved data sanitization and filtering
 * Updated readme to clearly disclose the use of third-party service OpenApp

#### 1.31

 * Improved `store_cart_in_db` function to properly recognize and respond to products
   added programmatically via `WC()->cart->add_to_cart($prod_id, 1)`.

#### 1.30

 * Implemented unique function prefixes for conflict avoidance.
 * Enhanced security through improved data sanitization and escaping.
 * Updated README with license details and third-party service information.
 * Isolated debug functionality into a dedicated development plugin.
 * Refactor code using Plugin Check (PCP) remarks
 * Bugfix: Recreated user session for oa-login process.
 * Addressed uninstallation error when WooCommerce is inactive.
 * Refined ‘store_cart_in_db’ triggering using is_woo_request().
 * Utilized a more specific ‘woocommerce_thankyou_openapp’ hook.
 * Removed ‘set_time_limit(0)’ from SSE method
 * Replaced ‘wp_create_user’ with ‘wc_create_new_customer’ for user creation.
 * Improved QR codes Ajax refresh with added 500ms delay
 * Change plugin name (and directory) to: OpenApp Gateway for WooCommerce

#### 1.26

 * Introduced a daily scheduled task to clean up carts older than 30 days.
 * Enhanced query performance by adding an index to the cart_session_id column in
   the database table.
 * Implemented automatic table schema updates, eliminating the need for manual plugin
   reactivation after updates.

#### 1.25

 * Added a new setting to allow admins to select the default order status for new
   orders.

#### 1.24

 * Fixed a bug in the shipping method fetch function by excluding endpoint from 
   REST API

#### 1.23

 * Prevent REST API endpoint caching by adding no-cache headers.
 * Added basic support for WooCommerce shipping class calculations.

#### 1.22

 * Added support for the Flexible Shipping plugin by Octolize: mapping to OpenApp
   methods and dynamic calculation of shipping costs

#### 1.21

 * Implemented Server-Sent Events (SSE) to enhance background frontend checks and
   improve thank you page redirection.
 * Added a new button in wp-admin for testing Server-Sent Events (SSE) Support on
   the server.
 * Refined the order key reset process to trigger only via the woocommerce_thankyou
   hook.
 * Improved the performance of the `create_new_wc_order` function, specifically 
   for the `oa_woocommerce_persistent_cart` SQL update.

#### 1.20

 * Feature: WooCommerce order status updates now synchronize with OpenApp status.

#### 1.19

 * Added validation and default assignment for ‘Interval Time’ in JavaScript to 
   handle cases where the value might be undefined, NaN, or less than or equal to
   0.

#### 1.18

 * Added ‘Interval Time’ option in settings to allow customization of the order 
   redirection checking interval.
 * Ensured compatibility with WordPress installations in subdirectories by dynamically
   setting AJAX URLs using the site’s base URL.
 * Various JavaScript optimizations and improvements for order redirection checking.
 * readme.txt added

#### 1.17

 * Resolved an issue preventing db_table creation on MariaDB versions 10.2.7 and
   above.

#### 1.16

 * Fix incorrect shippingCosts calculation.
 * Allow costs with dot or comma: 17.90, 17,90.

#### 1.15

 * Render shortcodes also on is_archive() template.

#### 1.14

 * Testing Mode option available only on staging or local (.dev | .local domains).
 * On plugin deactivation – remove all old logs: /wp-content/uploads/*-log837104.
   txt.
 * Development function ‘Disable plugin using link’ removed.

#### 1.13

 * Add OpenApp mapping for Inpost Paczkomaty plugin (https://pl.wordpress.org/plugins/
   inpost-paczkomaty/).
 * Add ?ver to assets.

#### 1.12

 * Echo http_code from response removed.

#### 1.11

 * Fix QR code basket value (should be in grosze).

#### 1.10

 * Add lang attr to shortcodes (QR codes).
 * Assign WooCommerce customer account to every order (using [‘deliveryDetails’][’
   email’]).
 * Fix thank_you_page requires login: assign order to client using thank_you_page
   hook.

#### 1.09

 * Optimize shortcodes, allow multiple instances.
 * Move js/css to files.
 * oa_status_changed, new endpoint /v1/orders/fulfillment.
 * Recheck testHmacSignaturePost().
 * Save oaOrderId as post_meta.
 * /v1/orders/fulfillment – hardcode more params.

#### 1.0.8

 * Global wp action for ‘store_cart_in_db’ (can be used in custom external code 
   to refresh db content).
    Usage: do_action(‘oa_update_cart_in_db’, true);

#### 1.0.7

 * Order – add shipping method as netto value.
 * Shortcode – refactor shortcodes, load lib in header.
 * Shipping methods – load from woo shipping zones.
 * Woo shipping methods – add custom field to map OA methods.
 * Fix missing get_product_object() (Variation products fix).
 * Refactor shortcodes.
 * Set CSS OpenAppCheckout class only if cart not empty.
 * Refactor create_product_output_array_from_cart.

## اطلاعات

 *  نگارش **2.4**
 *  Last updated **2 ماه پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  Tested up to **6.9.4**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/openapp-payment-gateway/)
 * Tags
 * [payment gateway](https://fa.wordpress.org/plugins/tags/payment-gateway/)[woocommerce](https://fa.wordpress.org/plugins/tags/woocommerce/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/openapp-payment-gateway/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[Your review](https://wordpress.org/support/plugin/openapp-payment-gateway/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/openapp-payment-gateway/reviews/)

## مشارکت کنندگان

 *   [ Jarosław Krupa ](https://profiles.wordpress.org/openapppl/)
 *   [ openapp ](https://profiles.wordpress.org/openapp/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/openapp-payment-gateway/)