Title: Appelepay Issue
Last modified: May 29, 2025

---

# Appelepay Issue

 *  [bokobok](https://wordpress.org/support/users/bokobok/)
 * (@bokobok)
 * [1 year ago](https://wordpress.org/support/topic/appelepay-issue/)
 * The Apple pay payment with Morning seems to have an issue, Customer see payment
   failed buut I se only code 200
   Sanitized logs below
 *     ```wp-block-code
       ----------------[END]----------------2025-05-29T10:36:05+00:00 DEBUG HTTP Request to https://api.greeninvoice.co.il/api/v1/plugins/woocommerce/pay/url with context:---------------[START]---------------Array(    [request] => Array        (            [method] => POST            [timeout] => 60            [httpversion] => 1.1            [user-agent] => Morning_WC/2.0.3 (WooCommerce 9.8.5; WordPress 6.8.1)            [headers] => Array                (                    [Content-Type] => application/json                    [Authorization] => Basic [AUTH_BEARER]                )            [body] => {"type":160,"maxPayments":1,"taxable":true,"amount":"1.00","currency":"ILS","lang":"en","description":"Order #178","successUrl":"https:\/\/xx.xx.xx\/?wc-api=WC_Gateway_GreenInvoice&gi-type=success&order-id=178&order-key=wc_order_xxx","failureUrl":"https:\/\/xxx.xx.xx\/?wc-api=WC_Gateway_GreenInvoice&gi-type=failure&order-id=178&order-key=wc_order_xxx","notifyUrl":"https:\/\/xxx.xxx.xxx\/?wc-api=WC_Gateway_GreenInvoice&gi-type=ipn&order-id=178&order-key=wc_order_xxx","client":{"name":"xxx xxx","taxId":"","country":"IL","address":"xxx","city":"xxx","zip":"xxx","phone":"xxx","emails":["xxx@xxx.xxx"]},"items":[{"description":"xxx","quantity":1,"price":20.000000999999997,"sku":"","taxable":true,"tax":3.050848}],"shipping":[],"coupons":[{"description":"xxxx","price":"16.1","taxable":true,"tax":"2.9"}]}        ))----------------[END]----------------2025-05-29T10:36:07+00:00 DEBUG HTTP Response from https://api.greeninvoice.co.il/api/v1/plugins/woocommerce/pay/url with context:---------------[START]---------------Array(    [response] => Array        (            [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object                (                    [data:protected] => Array                        (                            [date] => Thu, 29 May 2025 10:36:07 GMT                            [content-type] => application/json; charset=utf-8                            [server] => nginx                            [vary] => Accept-Encoding                            [access-control-expose-headers] => X-Authorization-Bearer,Set-Cookie,X-Authenticate,WWW-Authenticate                            [access-control-allow-credentials] => true                            [x-api-version] => GI-Core-API 2.37.95                            [content-security-policy] => frame-ancestors 'none';                            [x-xss-protection] => 1; mode=block                            [content-encoding] => gzip                        )                )            [body] => {"success":true,"errorCode":0,"url":"https://secure.meshulam.co.il/ApplePay?l=f09a1d1916ae659503496b86b8d023f0%MTgzMjgxOTE"}            [response] => Array                (                    [code] => 200                    [message] => OK                )            [cookies] => Array                (                )            [filename] =>             [http_response] => WP_HTTP_Requests_Response Object                (                    [data] =>                     [headers] =>                     [status] =>                     [response:protected] => WpOrg\Requests\Response Object                        (                            [body] => {"success":true,"errorCode":0,"url":"https://secure.meshulam.co.il/ApplePay?l=f09a1d1916ae659503496b86b8d023f0%MTgzMjgxOTE"}                            [raw] => HTTP/1.1 200 OKDate: Thu, 29 May 2025 10:36:07 GMTContent-Type: application/json; charset=utf-8Transfer-Encoding: chunkedConnection: closeServer: nginxVary: Accept-EncodingAccess-Control-Expose-Headers: X-Authorization-Bearer,Set-Cookie,X-Authenticate,WWW-AuthenticateAccess-Control-Allow-Credentials: trueX-API-Version: GI-Core-API 2.37.95Content-Security-Policy: frame-ancestors 'none';X-XSS-Protection: 1; mode=blockContent-Encoding: gzip{"success":true,"errorCode":0,"url":"https://secure.meshulam.co.il/ApplePay?l=f09a1d1916ae659503496b86b8d023f0%MTgzMjgxOTE"}                            [headers] => WpOrg\Requests\Response\Headers Object                                (                                    [data:protected] => Array                                        (                                            [date] => Array                                                (                                                    [0] => Thu, 29 May 2025 10:36:07 GMT                                                )                                            [content-type] => Array                                                (                                                    [0] => application/json; charset=utf-8                                                )                                            [server] => Array                                                (                                                    [0] => nginx                                                )                                            [vary] => Array                                                (                                                    [0] => Accept-Encoding                                                )                                            [access-control-expose-headers] => Array                                                (                                                    [0] => X-Authorization-Bearer,Set-Cookie,X-Authenticate,WWW-Authenticate                                                )                                            [access-control-allow-credentials] => Array                                                (                                                    [0] => true                                                )                                            [x-api-version] => Array                                                (                                                    [0] => GI-Core-API 2.37.95                                                )                                            [content-security-policy] => Array                                                (                                                    [0] => frame-ancestors 'none';                                                )                                            [x-xss-protection] => Array                                                (                                                    [0] => 1; mode=block                                                )                                            [content-encoding] => Array                                                (                                                    [0] => gzip                                                )                                        )                                )                            [status_code] => 200                            [protocol_version] => 1.1                            [success] => 1                            [redirects] => 0                            [url] => https://api.greeninvoice.co.il/api/v1/plugins/woocommerce/pay/url                            [history] => Array                                (                                )                            [cookies] => WpOrg\Requests\Cookie\Jar Object                                (                                    [cookies:protected] => Array                                        (                                        )                                )                        )                    [filename:protected] =>                 )        ))----------------[END]----------------2025-05-29T10:36:23+00:00 INFO Order #178 failed with error: Payment failed.
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Green Invoice](https://wordpress.org/support/users/greeninvoice/)
 * (@greeninvoice)
 * [1 year ago](https://wordpress.org/support/topic/appelepay-issue/#post-18499049)
 * Hi [@bokobok](https://wordpress.org/support/users/bokobok/),
   I need the website
   address so I can check.

Viewing 1 replies (of 1 total)

The topic ‘Appelepay Issue’ is closed to new replies.

 * ![](https://ps.w.org/wc-gateway-greeninvoice/assets/icon-256x256.png?rev=2900496)
 * [Morning for WooCommerce](https://wordpress.org/plugins/wc-gateway-greeninvoice/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-gateway-greeninvoice/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-gateway-greeninvoice/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-gateway-greeninvoice/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-gateway-greeninvoice/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-gateway-greeninvoice/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Green Invoice](https://wordpress.org/support/users/greeninvoice/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/appelepay-issue/#post-18499049)
 * Status: not resolved