Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter bahupro

    (@bahupro)

    Thank you so much, now working everything fine, thank you once again. Great job.

    Thread Starter bahupro

    (@bahupro)

    I found the log regarding the transaction payment for PayPal with error, there is like missing shipping address, but customer got virtual product and there is market option: disable shipping address and calculation in General tab for Woo commerce.

    Even is that made, each customer got automatically added same address which is in delivery in their subscription data, so do not understand why still PayPal telling about missing data for shipping.

    Log for you.

    2025-10-09T11:28:56+00:00 INFO Get access token Request: https://api.paypal.com/v1/oauth2/token/
    2025-10-09T11:28:56+00:00 INFO Response Code: 200
    2025-10-09T11:28:56+00:00 INFO Response Message: OK
    2025-10-09T11:28:56+00:00 INFO Response Body: Array
    (
    [scope] => https://uri.paypal.com/services/checkout/one-click-with-merchant-issued-token https://uri.paypal.com/services/payments/futurepayments https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/vault/payment-tokens/read https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller Braintree:Vault https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/services/reporting/search/read https://uri.paypal.com/services/payments/initiatepayment https://uri.paypal.com/payments/payouts https://uri.paypal.com/services/vault/payment-tokens/readwrite https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/shipping/trackers/readwrite https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks
    [access_token] => A21AANwEXeXi3sz-xopX4hpzloqUMWiVJ3gSXINQXFb5l2MZ9226msCPj3BdcNCcnsnrEHBhY8gd9i-Sq-hZ2WZJrC7E-p6_Q
    [token_type] => Bearer
    [app_id] => APP-2HP368920S3124337
    [expires_in] => 32399
    [nonce] => 2025-10-09T11:28:55ZlJTjUM47yOV35Zlngf9rkHypT-srppr2V0sjvRn4qyI
    )
    2025-10-09T11:28:56+00:00 INFO Payment Gateway for PayPal on WooCommerce: 9.0.46
    2025-10-09T11:28:56+00:00 INFO WooCommerce Version: 10.2.2
    2025-10-09T11:28:56+00:00 INFO Test Mode: No
    2025-10-09T11:28:56+00:00 INFO Action Name : Order using payment token
    2025-10-09T11:28:56+00:00 INFO Request : https://api.paypal.com/v2/checkout/orders/
    2025-10-09T11:28:57+00:00 INFO Response : Array
    (
    [name] => UNPROCESSABLE_ENTITY
    [details] => Array
    (
    [0] => Array
    (
    [field] => /purchase_units/@reference_id=='wc_order_IUHXhbs1uyCCR'/shipping/address
    [issue] => MISSING_SHIPPING_ADDRESS
    [description] => The shipping address is required when
    shipping_preference=SET_PROVIDED_ADDRESS.
    )

    )

    [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
    [debug_id] => 7c796fa7c8773
    [links] => Array
    (
    [0] => Array
    (
    [href] => https://developer.paypal.com/api/rest/reference/orders/v2/errors/#MISSING_SHIPPING_ADDRESS
    [rel] => information_link
    [method] => GET
    )

    )

    )
    2025-10-09T12:39:54+00:00 INFO Payment Gateway for PayPal on WooCommerce: 9.0.46
    2025-10-09T12:39:54+00:00 INFO WooCommerce Version: 10.2.2
    2025-10-09T12:39:54+00:00 INFO Test Mode: No
    2025-10-09T12:39:54+00:00 INFO Action Name : Order using payment token
    2025-10-09T12:39:54+00:00 INFO Request : https://api.paypal.com/v2/checkout/orders/
    2025-10-09T12:39:55+00:00 INFO Response : Array
    (
    [name] => UNPROCESSABLE_ENTITY
    [details] => Array
    (
    [0] => Array
    (
    [field] => /purchase_units/@reference_id=='wc_order_8P6Hgh5nvtHH6'/shipping/address
    [issue] => MISSING_SHIPPING_ADDRESS
    [description] => The shipping address is required when shipping_preference=SET_PROVIDED_ADDRESS.
    )

    )

    [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
    [debug_id] => b3f8251486a5b
    [links] => Array
    (
    [0] => Array
    (
    [href] => https://developer.paypal.com/api/rest/reference/orders/v2/errors/#MISSING_SHIPPING_ADDRESS
    [rel] => information_link
    [method] => GET
    )

    )

    )
    2025-10-09T13:50:42+00:00 INFO Response : Array
    (
    [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [content-length] => 559
    [server-timing] => traceparent;desc="00-0000000000000000000f4a57f0997b9b-72dcfe42ef2bb69b-01"
    [cache-control] => max-age=0, no-cache, no-store, must-revalidate
    [paypal-debug-id] => f4a57f0997b9b
    [content-type] => application/json
    [set-cookie] => l7_az=ccg14.slc; Path=/; Domain=paypal.com; Expires=Thu, 09 Oct 2025 14:20:42 GMT; HttpOnly; Secure
    [access-control-expose-headers] => Server-Timing
    [edge-control] => max-age=0
    [accept-ranges] => bytes
    [date] => Thu, 09 Oct 2025 13:50:42 GMT
    [via] => 1.1 varnish
    [strict-transport-security] => max-age=63072000; includeSubDomains; preload
    [x-served-by] => cache-fra-etou8220198-FRA, cache-fra-etou8220198-FRA
    [x-cache] => MISS, MISS
    [x-cache-hits] => 0, 0
    [x-timer] => S1760017842.796962,VS0,VE501
    [vary] => Accept-Encoding
    )

    )

    [body] => {"id":"24N06448EC9111014","customer":{"id":"uQEcvaSlLh"},"status":"PAYER_ACTION_REQUIRED","payment_source":{"paypal":{"description":"Billing Agreement","usage_pattern":"IMMEDIATE","permit_multiple_payment_tokens":true,"usage_type":"MERCHANT","customer_type":"CONSUMER"}},"links":[{"href":"https://api.paypal.com/v3/vault/setup-tokens/24N06448EC9111014","rel":"self","method":"GET","encType":"application/json"},{"href":"https://paypal.com/agreements/approve?approval_session_id=24N06448EC9111014","rel":"approve","method":"GET","encType":"application/json"}]}
    [response] => Array
    (
    [code] => 201
    [message] => Created
    )

    [cookies] => Array
    (
    [0] => WP_Http_Cookie Object
    (
    [name] => l7_az
    [value] => ccg14.slc
    [expires] => 1760019642
    [path] => /
    [domain] => paypal.com
    [port] =>
    [host_only] =>
    )

    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [data] =>
    [headers] =>
    [status] =>
    [response:protected] => WpOrg\Requests\Response Object
    (
    [body] => {"id":"24N06448EC9111014","customer":{"id":"uQEcvaSlLh"},"status":"PAYER_ACTION_REQUIRED","payment_source":{"paypal":{"description":"Billing Agreement","usage_pattern":"IMMEDIATE","permit_multiple_payment_tokens":true,"usage_type":"MERCHANT","customer_type":"CONSUMER"}},"links":[{"href":"https://api.paypal.com/v3/vault/setup-tokens/24N06448EC9111014","rel":"self","method":"GET","encType":"application/json"},{"href":"https://paypal.com/agreements/approve?approval_session_id=24N06448EC9111014","rel":"approve","method":"GET","encType":"application/json"}]}
    [raw] => HTTP/1.1 201 Created
    Connection: close
    Content-Length: 559
    server-timing: traceparent;desc="00-0000000000000000000f4a57f0997b9b-72dcfe42ef2bb69b-01"
    cache-control: max-age=0, no-cache, no-store, must-revalidate
    paypal-debug-id: f4a57f0997b9b
    content-type: application/json
    set-cookie: l7_az=ccg14.slc; Path=/; Domain=paypal.com; Expires=Thu, 09 Oct 2025 14:20:42 GMT; HttpOnly; Secure
    access-control-expose-headers: Server-Timing
    Edge-Control: max-age=0
    Accept-Ranges: bytes
    Date: Thu, 09 Oct 2025 13:50:42 GMT
    Via: 1.1 varnish
    Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
    X-Served-By: cache-fra-etou8220198-FRA, cache-fra-etou8220198-FRA
    X-Cache: MISS, MISS
    X-Cache-Hits: 0, 0
    X-Timer: S1760017842.796962,VS0,VE501
    Vary: Accept-Encoding

    {"id":"24N06448EC9111014","customer":{"id":"uQEcvaSlLh"},"status":"PAYER_ACTION_REQUIRED","payment_source":{"paypal":{"description":"Billing Agreement","usage_pattern":"IMMEDIATE","permit_multiple_payment_tokens":true,"usage_type":"MERCHANT","customer_type":"CONSUMER"}},"links":[{"href":"https://api.paypal.com/v3/vault/setup-tokens/24N06448EC9111014","rel":"self","method":"GET","encType":"application/json"},{"href":"https://paypal.com/agreements/approve?approval_session_id=24N06448EC9111014","rel":"approve","method":"GET","encType":"application/json"}]}
    [headers] => WpOrg\Requests\Response\Headers Object
    (
    [data:protected] => Array
    (
    [content-length] => Array
    (
    [0] => 559
    )

    [server-timing] => Array
    (
    [0] => traceparent;desc="00-0000000000000000000f4a57f0997b9b-72dcfe42ef2bb69b-01"
    )

    [cache-control] => Array
    (
    [0] => max-age=0, no-cache, no-store, must-revalidate
    )

    [paypal-debug-id] => Array
    (
    [0] => f4a57f0997b9b
    )

    [content-type] => Array
    (
    [0] => application/json
    )

    [set-cookie] => Array
    (
    [0] => l7_az=ccg14.slc; Path=/; Domain=paypal.com; Expires=Thu, 09 Oct 2025 14:20:42 GMT; HttpOnly; Secure
    )

    [access-control-expose-headers] => Array
    (
    [0] => Server-Timing
    )

    [edge-control] => Array
    (
    [0] => max-age=0
    )

    [accept-ranges] => Array
    (
    [0] => bytes
    )

    [date] => Array
    (
    [0] => Thu, 09 Oct 2025 13:50:42 GMT
    )

    [via] => Array
    (
    [0] => 1.1 varnish
    )

    [strict-transport-security] => Array
    (
    [0] => max-age=63072000; includeSubDomains; preload
    )

    [x-served-by] => Array
    (
    [0] => cache-fra-etou8220198-FRA, cache-fra-etou8220198-FRA
    )

    [x-cache] => Array
    (
    [0] => MISS, MISS
    )

    [x-cache-hits] => Array
    (
    [0] => 0, 0
    )

    [x-timer] => Array
    (
    [0] => S1760017842.796962,VS0,VE501
    )

    [vary] => Array
    (
    [0] => Accept-Encoding
    )

    )

    )

    [status_code] => 201
    [protocol_version] => 1.1
    [success] => 1
    [redirects] => 0
    [url] => https://api-m.paypal.com/v3/vault/setup-tokens
    [history] => Array
    (
    )

    [cookies] => WpOrg\Requests\Cookie\Jar Object
    (
    [cookies:protected] => Array
    (
    [l7_az] => WpOrg\Requests\Cookie Object
    (
    [name] => l7_az
    [value] => ccg14.slc
    [attributes] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [path] => /
    [domain] => paypal.com
    [expires] => 1760019642
    [httponly] => 1
    [secure] => 1
    )

    )

    [flags] => Array
    (
    [creation] => 1760017842
    [last-access] => 1760017842
    [persistent] =>
    [host-only] =>
    )

    [reference_time] => 1760017842
    )

    )

    )

    )

    [filename:protected] =>
    )

    )
    2025-10-09T13:52:37+00:00 INFO Response : Array
    (
    [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [date] => Thu, 09 Oct 2025 13:52:37 GMT
    [content-type] => application/json
    [content-length] => 559
    [access-control-expose-headers] => Server-Timing
    [application_id] => APP-2HP368920S3124337
    [border-ip] => 10.209.12.76
    [cache-control] => max-age=0, no-cache, no-store, must-revalidate
    [caller_acct_num] => 3DG99RVEUCEZC
    [paypal-debug-id] => bea7e8296edc3
    [processing-ip] => 10.142.234.77
    [server-timing] => traceparent;desc="00-0000000000000000000bea7e8296edc3-4c8a77859eddb6da-01"
    [vary] => Accept-Encoding
    [strict-transport-security] => max-age=31536000; includeSubDomains; preload
    [cf-cache-status] => DYNAMIC
    [server] => cloudflare
    [set-cookie] => l7_az=ccg14.slc; HttpOnly; Secure; Path=/; Domain=paypal.com; Expires=Thu, 09 Oct 2025 14:22:37 GMT
    [cf-ray] => 98be5c08fc77bb4a-FRA
    )

    )

    [body] => {"id":"78S88184SE668813D","customer":{"id":"uQEcvaSlLh"},"status":"PAYER_ACTION_REQUIRED","payment_source":{"paypal":{"description":"Billing Agreement","usage_pattern":"IMMEDIATE","permit_multiple_payment_tokens":true,"usage_type":"MERCHANT","customer_type":"CONSUMER"}},"links":[{"href":"https://api.paypal.com/v3/vault/setup-tokens/78S88184SE668813D","rel":"self","method":"GET","encType":"application/json"},{"href":"https://paypal.com/agreements/approve?approval_session_id=78S88184SE668813D","rel":"approve","method":"GET","encType":"application/json"}]}
    [response] => Array
    (
    [code] => 201
    [message] => Created
    )

    [cookies] => Array
    (
    [0] => WP_Http_Cookie Object
    (
    [name] => l7_az
    [value] => ccg14.slc
    [expires] => 1760019757
    [path] => /
    [domain] => paypal.com
    [port] =>
    [host_only] =>
    )

    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [data] =>
    [headers] =>
    [status] =>
    [response:protected] => WpOrg\Requests\Response Object
    (
    [body] => {"id":"78S88184SE668813D","customer":{"id":"uQEcvaSlLh"},"status":"PAYER_ACTION_REQUIRED","payment_source":{"paypal":{"description":"Billing Agreement","usage_pattern":"IMMEDIATE","permit_multiple_payment_tokens":true,"usage_type":"MERCHANT","customer_type":"CONSUMER"}},"links":[{"href":"https://api.paypal.com/v3/vault/setup-tokens/78S88184SE668813D","rel":"self","method":"GET","encType":"application/json"},{"href":"https://paypal.com/agreements/approve?approval_session_id=78S88184SE668813D","rel":"approve","method":"GET","encType":"application/json"}]}
    [raw] => HTTP/1.1 201 Created
    Date: Thu, 09 Oct 2025 13:52:37 GMT
    Content-Type: application/json
    Content-Length: 559
    Connection: close
    Access-Control-Expose-Headers: Server-Timing
    Application_id: APP-2HP368920S3124337
    Border-Ip: 10.209.12.76
    Cache-Control: max-age=0, no-cache, no-store, must-revalidate
    Caller_acct_num: 3DG99RVEUCEZC
    Paypal-Debug-Id: bea7e8296edc3
    Processing-Ip: 10.142.234.77
    Server-Timing: traceparent;desc="00-0000000000000000000bea7e8296edc3-4c8a77859eddb6da-01"
    Vary: Accept-Encoding
    Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
    cf-cache-status: DYNAMIC
    Server: cloudflare
    Set-Cookie: l7_az=ccg14.slc; HttpOnly; Secure; Path=/; Domain=paypal.com; Expires=Thu, 09 Oct 2025 14:22:37 GMT
    CF-RAY: 98be5c08fc77bb4a-FRA

    {"id":"78S88184SE668813D","customer":{"id":"uQEcvaSlLh"},"status":"PAYER_ACTION_REQUIRED","payment_source":{"paypal":{"description":"Billing Agreement","usage_pattern":"IMMEDIATE","permit_multiple_payment_tokens":true,"usage_type":"MERCHANT","customer_type":"CONSUMER"}},"links":[{"href":"https://api.paypal.com/v3/vault/setup-tokens/78S88184SE668813D","rel":"self","method":"GET","encType":"application/json"},{"href":"https://paypal.com/agreements/approve?approval_session_id=78S88184SE668813D","rel":"approve","method":"GET","encType":"application/json"}]}
    [headers] => WpOrg\Requests\Response\Headers Object
    (
    [data:protected] => Array
    (
    [date] => Array
    (
    [0] => Thu, 09 Oct 2025 13:52:37 GMT
    )

    [content-type] => Array
    (
    [0] => application/json
    )

    [content-length] => Array
    (
    [0] => 559
    )

    [access-control-expose-headers] => Array
    (
    [0] => Server-Timing
    )

    [application_id] => Array
    (
    [0] => APP-2HP368920S3124337
    )

    [border-ip] => Array
    (
    [0] => 10.209.12.76
    )

    [cache-control] => Array
    (
    [0] => max-age=0, no-cache, no-store, must-revalidate
    )

    [caller_acct_num] => Array
    (
    [0] => 3DG99RVEUCEZC
    )

    [paypal-debug-id] => Array
    (
    [0] => bea7e8296edc3
    )

    [processing-ip] => Array
    (
    [0] => 10.142.234.77
    )

    [server-timing] => Array
    (
    [0] => traceparent;desc="00-0000000000000000000bea7e8296edc3-4c8a77859eddb6da-01"
    )

    [vary] => Array
    (
    [0] => Accept-Encoding
    )

    [strict-transport-security] => Array
    (
    [0] => max-age=31536000; includeSubDomains; preload
    )

    [cf-cache-status] => Array
    (
    [0] => DYNAMIC
    )

    [server] => Array
    (
    [0] => cloudflare
    )

    [set-cookie] => Array
    (
    [0] => l7_az=ccg14.slc; HttpOnly; Secure; Path=/; Domain=paypal.com; Expires=Thu, 09 Oct 2025 14:22:37 GMT
    )

    [cf-ray] => Array
    (
    [0] => 98be5c08fc77bb4a-FRA
    )

    )

    )

    [status_code] => 201
    [protocol_version] => 1.1
    [success] => 1
    [redirects] => 0
    [url] => https://api-m.paypal.com/v3/vault/setup-tokens
    [history] => Array
    (
    )

    [cookies] => WpOrg\Requests\Cookie\Jar Object
    (
    [cookies:protected] => Array
    (
    [l7_az] => WpOrg\Requests\Cookie Object
    (
    [name] => l7_az
    [value] => ccg14.slc
    [attributes] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [httponly] => 1
    [secure] => 1
    [path] => /
    [domain] => paypal.com
    [expires] => 1760019757
    )

    )

    [flags] => Array
    (
    [creation] => 1760017957
    [last-access] => 1760017957
    [persistent] =>
    [host-only] =>
    )

    [reference_time] => 1760017957
    )

    )

    )

    )

    [filename:protected] =>
    )

    )
    Thread Starter bahupro

    (@bahupro)

    Hello,

    Still does not work showing only pending orders, but I notice that when the customer click on button ” change payment ” there is redirection to the wp admin. I do not know why, maybe there is a problem, but in further investigating, can someone add me on discord? nickname bahupro so we can discuss further in this case to make that quicker and better contact in real time.

    Thread Starter bahupro

    (@bahupro)

    Payments working only after click renew now button manually by press customer, but when system tried to do by himself automatically charge, there is only pending status nothing else, so could you check on your side please?

    Thread Starter bahupro

    (@bahupro)

    Hello There @jigneshmpatel

    Yes website, working, there is not show errors, but not sure about the subscription recurring payments with saved paypal account in woocommerce, so that I need to test that as well, I will back here shortly after test with some customer.

    Best Regards
    Mateusz

    Thread Starter bahupro

    (@bahupro)

    Fatal error: Uncaught Error: Class “PPCP_Paypal_Checkout_For_Woocommerce_Gateway_CC” not found in /var/www/html/wp-content/plugins/woo-paypal-gateway/ppcp/subscriptions/class-ppcp-paypal-checkout-for-woocommerce-subscriptions-cc.php:7 Stack trace: #0 /var/www/html/wp-content/plugins/woo-paypal-gateway/ppcp/includes/class-ppcp-paypal-checkout-for-woocommerce.php(81): include_once() #1 /var/www/html/wp-includes/class-wp-hook.php(324): PPCP_Paypal_Checkout_For_Woocommerce->ppcp_woocommerce_payment_gateways() #2 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(95): apply_filters() #4 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(77): WC_Payment_Gateways->init() #5 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(50): WC_Payment_Gateways->__construct() #6 /var/www/html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(1187): WC_Payment_Gateways::instance() #7 /var/www/html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(205): WooCommerce->payment_gateways() #8 /var/www/html/wp-content/plugins/btcpay-greenfield-for-woocommerce/src/Blocks/DefaultGatewayBlocks.php(31): WooCommerce->__get() #9 /var/www/html/wp-content/plugins/woocommerce/src/Blocks/Integrations/IntegrationRegistry.php(53): BTCPayServer\WC\Blocks\DefaultGatewayBlocks->initialize() #10 /var/www/html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Integrations\IntegrationRegistry->initialize() #11 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #12 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action() #13 /var/www/html/wp-settings.php(727): do_action() #14 /var/www/html/wp-config.php(84): require_once(‘…’) #15 /var/www/html/wp-load.php(50): require_once(‘…’) #16 /var/www/html/wp-blog-header.php(13): require_once(‘…’) #17 /var/www/html/index.php(17): require(‘…’) #18 {main} thrown in /var/www/html/wp-content/plugins/woo-paypal-gateway/ppcp/subscriptions/class-ppcp-paypal-checkout-for-woocommerce-subscriptions-cc.php on line 7

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