• Resolved Matteo

    (@matteofeduzi)


    Hi,

    we request authorization to process payment and when we click “Capture authorized PayPal payment” this error comes up:
    “Could not retrieve information. Try again later.”

    We enabled debugging and it comes up with this:
    2022-05-11T09:18:41+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/3KT368737U4227133
    Response Debug ID: e9e9e81595fe
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    We have now captured directly from PayPal and it works, but on WooCommerce it remained "Not captured".

    Why from the site is the captured not working?

    Thank you.

    • This topic was modified 2 years, 10 months ago by Matteo.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @matteofeduzi,

    Can you please try resubscribing your webhooks?

    After resubscribing and trying again to capture a payment, could you share the full log file with us if there is still an error?
    Thanks!

    Kind regards,
    Niklas

    Thread Starter Matteo

    (@matteofeduzi)

    Hi,

    I tried to do as you said, but I still get the same problem.

    This is the log:

    2022-05-11T10:13:58+00:00 INFO Received simulated webhook.
    2022-05-11T10:14:54+00:00 DEBUG DELETE https://api.paypal.com/v1/notifications/webhooks/072088212V961145Y
    Response Debug ID: 7ebe10ca78cb8
    Response: Array
    (
        [code] => 204
        [message] => No Content
    )
    
    2022-05-11T10:14:54+00:00 INFO Webhooks deleted.
    2022-05-11T10:14:54+00:00 DEBUG POST https://api.paypal.com/v1/notifications/webhooks
    Request Body: {"url":"https:\/\/sos-wp.it\/account\/wp-json\/paypal\/v1\/incoming","event_types":[{"name":"CHECKOUT.ORDER.APPROVED"},{"name":"CHECKOUT.ORDER.COMPLETED"},{"name":"PAYMENT.CAPTURE.REFUNDED"},{"name":"PAYMENT.CAPTURE.REVERSED"},{"name":"PAYMENT.ORDER.CANCELLED"},{"name":"PAYMENT.CAPTURE.DENIED"},{"name":"PAYMENT.CAPTURE.COMPLETED"},{"name":"VAULT.PAYMENT-TOKEN.CREATED"},{"name":"VAULT.CREDIT-CARD.CREATED"}]}
    Response Debug ID: 16d197d596b9d
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-05-11T10:14:54+00:00 INFO Webhooks subscribed.
    2022-05-11T10:14:55+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks
    Response Debug ID: 9a34459f39328
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-05-11T10:14:56+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks
    Response Debug ID: 17dc96c7a9b6f
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-05-11T10:15:17+00:00 DEBUG  https://api.paypal.com/v2/checkout/orders/3KT368737U4227133
    Response Debug ID: 11ec8b0a9af88
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-05-11T10:16:18+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/sos-wp.it\/account\/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":["PPCP"],"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: bcc17c0539869
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-05-11T10:16:18+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/sos-wp.it\/account\/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: f092620fb2b6f
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-05-11T10:16:21+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks
    Response Debug ID: 4cadeffa824d9
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-05-11T10:16:21+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks
    Response Debug ID: c07949d30d03c
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-05-11T10:16:30+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/sos-wp.it\/account\/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":["PPCP"],"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: 41b7c01ebd4e8
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-05-11T10:16:30+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals
    Request Body: {"partner_config_override":{"partner_logo_url":"https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png","return_url":"https:\/\/sos-wp.it\/account\/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: 919ded5837b29
    Response: Array
    (
        [code] => 201
        [message] => Created
    )

    Thank you.

    Thread Starter Matteo

    (@matteofeduzi)

    Hi,

    any news?

    Thanks.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @matteofeduzi,

    Thanks for your patience.
    Two things:

    1. Could you please share with us a copy of your system report?
    You can share it either here in the forums or privately with us from here:
    https://paypal.inpsyde.com/docs/request-support/
    If you send a private message, please include a link to this thread.

    2. The log excerpt does not look like it includes the API request for the capture call.
    Could you please include the complete log file after attempting a capture as well?
    Every API request includes a Debug ID which can help the PayPal MTS to find out more about what happened with the request. But the full log should also provide us with more hints to better determine the course of action.
    Thanks!

    Kind regards,
    Niklas

    I’m seeing the same issue. It looks like it started sometime in early May. We have not made any related changes to the website since then. I created a ticket on Github and paypal.inpsyde.com for this issue.

    https://github.com/woocommerce/woocommerce-paypal-payments/issues/656

    Thread Starter Matteo

    (@matteofeduzi)

    Is there any news? The problem persists, thank you.

    Hello @matteofeduzi,

    We are currently investigating this issue here: https://github.com/woocommerce/woocommerce-paypal-payments/issues/656#issuecomment-1149888142

    As we are not currently able to reproduce will be great if you can add the suggested line (on install the provided package) in order to log the error message so we can get more information about the concrete issue.

    Thanks in advance,
    Emili

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    this issue should be resolved in our next release. If you want to test our fix you can also install this package.

    Since we did not hear back on our last comments we will assume that the fix worked as expected, so we will mark this thread as resolved. If you still have any issues with this, please open a new thread.

    Kind regards,
    Joost

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Could not retrieve information. Try again later.’ is closed to new replies.