• bokobok

    (@bokobok)


    The Apple pay payment with Morning seems to have an issue, Customer see payment failed buut I se only code 200
    Sanitized logs below

    ----------------[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":["[email protected]"]},"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 OK
    Date: Thu, 29 May 2025 10:36:07 GMT
    Content-Type: application/json; charset=utf-8
    Transfer-Encoding: chunked
    Connection: close
    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

    {"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)
Viewing 1 replies (of 1 total)

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