Title: WooCommerce version supported
Last modified: October 7, 2019

---

# WooCommerce version supported

 *  Resolved [massimilianosantamaria](https://wordpress.org/support/users/massimilianosantamaria/)
 * (@massimilianosantamaria)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-version-supported/)
 * Hello, I would like to know the current version supported of WooCommerce.
    My
   site meets the requirement “WordPress Version: 4.6 or higher” but after configuring
   the plugin with Activation Code and trying a real payment I have an Internal 
   Server Error. The order then appears in WooCommerce as “Waiting for payment”.
   I await an urgent reply. Thanks
 * ———-
 * Buongiorno, vorrei sapere fino a quale versione di WooCommerce il plugin è supportato.
   
   Il mio sito soddisfa il requisito “WordPress versione: 4.6 o successiva” ma dopo
   aver configurato il plugin con il codice di attivazione e aver tentato un vero
   pagamento compare Internal Server Error. L’ordine rimane poi in WooCommerce come“
   In attesa di pagamento”. Attendo urgente risposta. Grazie
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwoocommerce-version-supported%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [fp3492](https://wordpress.org/support/users/fp3492/)
 * (@fp3492)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-version-supported/#post-12056777)
 * I have the same problem on WordPress 5.2.2 (latest) and woocommerce 3.7.1 (latest).
   And for about a year, it’s still the same problem with all releases! I also wrote
   to satispay but they didn’t even answer me. Do you have news?
    ————- Io ho lo
   stesso problema su WordPress 5.2.2 (latest) e woocommerce 3.7.1 (latest). E da
   circa un anno è sempre lo stesso problema con tutte le versioni! Ho scritto anche
   a satispay ma non mi hanno nemmeno risposto. Hai novità sulla soluzione al problema?
 *  Thread Starter [massimilianosantamaria](https://wordpress.org/support/users/massimilianosantamaria/)
 * (@massimilianosantamaria)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-version-supported/#post-12056809)
 * No, unfortunately, then from what you say does not depend on the fact of having
   a version not updated. I hope they will get a move on fixing the plugin. I can’t
   find another way to contact them.
    ————- No purtroppo, allora da quel che dici
   non dipende dal fatto di avere una versione non aggiornata. Spero che si diano
   una mossa a sistemare il plugin. Non trovo altro modo per contattarli.
 *  [fp3492](https://wordpress.org/support/users/fp3492/)
 * (@fp3492)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/woocommerce-version-supported/#post-12064551)
 * After an inspection of the plugin code i probably found what can cause the problem
   of the order status pending.
    SOLUTION: In the file “wc-satispay.php” in “function
   gateway_api()” the line below marked up in bold is missing and it is required.
   ______________________________________________________________________________________
   Dopo un’ispezione al codice del plugin probabilmente ho trovato cosa causa il
   problema dell’ordine che rimane nello stato PENDING. SOLUZIONE: Nel file “wc-
   satispay.php” la funzione “function gateway_api()” la linea qui giù in grassetto
   manca ed è necessaria
 * public function gateway_api() {
    switch($_GET[‘action’]) { case ‘redirect’: $
   payment = \SatispayGBusiness\Payment::get($_GET[‘payment_id’]); $order = new 
   WC_Order($payment->metadata->order_id); if ($payment->status === ‘ACCEPTED’) {**
   $order->payment_complete($payment->id); ** header(‘Location: ‘.$this->get_return_url(
   $order)); } else { \SatispayGBusiness\Payment::update($payment->id, array( ‘action’
   => ‘CANCEL’ )); header(‘Location: ‘.$order->get_cancel_order_url_raw()); } break;
 *  case ‘callback’:
    $payment = \SatispayGBusiness\Payment::get($_GET[‘payment_id’]);
   $order = new WC_Order($payment->metadata->order_id); if ($order->has_status(wc_get_is_paid_statuses())){
   exit; } if ($payment->status === ‘ACCEPTED’) { $order->payment_complete($payment-
   >id); } break; } }
 * I tried to pay an order and it works! The order status changed from ‘Pending 
   Payment’ to ‘Processing’.
    ______ Ho provato a pagare un ordine e funziona correttamente!
   Lo stato dell’ordine è passato da ‘In attesa di pagamento’ a ‘In lavorazione’.
 * I tried to pay an order with a Satispay account with zero credit, satispay refused
   the transaction and the order changed from ‘Pending Payment’ to ‘Cancelled’
    
   ______ Ho provato a pagare un ordine con un account Satispay senza credito, Satispay
   ha rifiutato la transazione e lo stato dell’ordine è passato da ‘in attesa di
   pagamento’ a ‘cancellato’.
 *  Plugin Author [Satispay](https://wordpress.org/support/users/satispay/)
 * (@satispay)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/woocommerce-version-supported/#post-12705973)
 * Ciao,
 * se lo stato dell’ordine non cambia a seguito di un pagamento con Satispay significa
   che la callback fallisce o non la ricevete per le [configurazioni del firewall](https://developers.satispay.com/reference#firewall-configuration).
 * Vi invitiamo a contattarci scrivendo una mail a [business@satispay.com](https://wordpress.org/support/topic/woocommerce-version-supported/business@satispay.com?output_format=md)
 * Restiamo a disposizione,
    Satispay Team

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WooCommerce version supported’ is closed to new replies.

 * ![](https://ps.w.org/woo-satispay/assets/icon-256x256.png?rev=3098775)
 * [Satispay for WooCommerce](https://wordpress.org/plugins/woo-satispay/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-satispay/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-satispay/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-satispay/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-satispay/reviews/)

## Tags

 * [order pending](https://wordpress.org/support/topic-tag/order-pending/)

 * 4 replies
 * 1 participant
 * Last reply from: [Satispay](https://wordpress.org/support/users/satispay/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/woocommerce-version-supported/#post-12705973)
 * Status: resolved