• Hola a todos tengo paypal woocommerce instalado en mi tienda pero se desconecta, leyendo dice que revise el registro de wooocmmerce pero no lo entiendo bien.

    https://www.neuromav.cl/wp-content/uploads/2022/02/captura1.jpg

    Me pueden ayudar a comprenderlo:

    2022-02-21T20:49:25+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: 271171305e763
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-02-21T20:49:26+00:00 DEBUG POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/www.neuromav.cl\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    Response Debug ID: 3e5a17690d857
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-02-21T20:49:54+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: 3c907ec2c9440
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-02-21T20:49:56+00:00 DEBUG POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/www.neuromav.cl\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    Response Debug ID: 1d2aff647a373
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-02-21T20:50:22+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: a473fd2b0acab
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-02-21T20:50:23+00:00 DEBUG POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/www.neuromav.cl\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    Response Debug ID: a02a65c7f68b
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-02-21T20:50:29+00:00 DEBUG POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/www.neuromav.cl\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    Response Debug ID: cbd2f0a149352
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-02-21T20:50:48+00:00 DEBUG POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/www.neuromav.cl\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    Response Debug ID: 6d4a10d14bb5d
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-02-21T20:50:53+00:00 DEBUG POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/www.neuromav.cl\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    Response Debug ID: e01bdbe84066f
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-02-21T21:10:34+00:00 DEBUG POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/www.neuromav.cl\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    Response Debug ID: 219a0a168d7f4
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-02-21T21:12:55+00:00 DEBUG POST https://connect.woocommerce.com/ppc/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/www.neuromav.cl\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway","return_url_description":"Return to your shop.","show_add_credit_card":true},"products":["EXPRESS_CHECKOUT"],"legal_consents":[{"type":"SHARE_DATA_CONSENT","granted":true}],"operations":[{"operation":"API_INTEGRATION","api_integration_preference":{"rest_api_integration":{"integration_method":"PAYPAL","integration_type":"FIRST_PARTY","first_party_details":{"features":["PAYMENT","FUTURE_PAYMENT","REFUND","ADVANCED_TRANSACTIONS_SEARCH","VAULT"],"seller_nonce":"a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG"}}}}]}
    Response Debug ID: 8b07e78a0772c
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-02-21T21:41:06+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token/
    Response Debug ID: 3473fbd809671
    Response: Array
    (
        [code] => 401
        [message] => Unauthorized
    )
    
    Response Body: {"error":"invalid_authz_code","error_description":"Authorization code not found in cache"}
    
    2022-02-21T21:41:06+00:00 WARNING No token found.
    2022-02-21T21:41:06+00:00 ERROR Onboarding completion handling error: No token found.
    2022-02-21T21:41:06+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token/
    Response Debug ID: a80c68b30f252
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-02-21T21:41:06+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token/
    Response Debug ID: c470ef38216c4
    Response: Array
    (
        [code] => 401
        [message] => Unauthorized
    )
    
    Response Body: {"error":"invalid_authz_code","error_description":"Authorization code not found in cache"}
    
    2022-02-21T21:41:06+00:00 WARNING No token found.
    2022-02-21T21:41:06+00:00 ERROR Onboarding completion handling error: No token found.
    2022-02-21T21:41:06+00:00 DEBUG GET https://api.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/credentials/
    Response Debug ID: 9d11f589c08bf
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-02-21T21:41:07+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token/
    Response Debug ID: cd75bee00b594
    Response: Array
    (
        [code] => 401
        [message] => Unauthorized
    )
    
    Response Body: {"error":"invalid_authz_code","error_description":"Authorization code not found in cache"}
    
    2022-02-21T21:41:07+00:00 WARNING No token found.
    2022-02-21T21:41:07+00:00 ERROR Onboarding completion handling error: No token found.
    2022-02-21T21:43:17+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: dc4e0588069d8
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-02-21T21:43:19+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: 85d30130dd557
    Response: Array
    (
        [code] => 200
        [message] => OK
    )

    La página con la que necesito ayuda: [accede para ver el enlace]

Viendo 1 respuesta (de un total de 1)
  • Moderador jose64

    (@jose64)

    Hola.

    El mensaje te indica que debes conectar con tu cuenta de PayPal, en el registro lo que veo es que está conectada y te deniega las operaciones, seguramente por estar en modo de pruebas.

    Los códigos 200 que aparecen en el registro indican que la solicitud se completó con éxito (no hay error) y los 201 indican que además de completarse se creó un recurso nuevo.

    El código 401 si es un código de error e indica que no se pudo realizar por no estar autorizado.

    Tienes que revisar el mensaje que da durante la compra, yo no he podido hacerlo porque me indica que no hay ningún método de pago para mi región (indiqué en la dirección Chile/Santiago Centro).

    Por si te sirve de ayuda, te dejo una publicación donde explica cómo configurar PayPal:

    ¿Qué debo hacer para conectar el nuevo plugin a mi cuenta de PayPal?

    Comenta si tienes alguna duda y, por favor, recuerda marcar el debate como resuelto cuando así sea, de esta forma nos ayudas a mantener el foro al día.

Viendo 1 respuesta (de un total de 1)
  • El debate ‘Entendiendo el registro de woocommerce’ está cerrado a nuevas respuestas.