• Resolved tbo460

    (@thibotus01)


    PAYPAL_REQUEST_ID_REQUIRED A PayPal-Request-Id is required if you are trying to process payment for an Order. Please specify a PayPal-Request-Id or Create the Order without a ‘payment_source’ specified.
    Order status changed from Pending payment to Failed.

    Hi, using 2.0.2-rc1. I’m getting this error with subscription renewal payment with PayPal as form of payment.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tbo460

    (@thibotus01)

    023-01-24T06:04:31+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
    Request Body: {"intent":"AUTHORIZE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"35.00","breakdown":{"item_total":{"currency_code":"EUR","value":"28.93"},"shipping":{"currency_code":"EUR","value":"0.00"},"tax_total":{"currency_code":"EUR","value":"6.07"}}},"description":"","items":[{"name":"Lyca Mobile - Monthly Plan - 3GB","unit_amount":{"currency_code":"EUR","value":"28.93"},"quantity":1,"description":"","sku":"LYCAMOBILE-USA-MONTHLY-23","category":"DIGITAL_GOODS"}],"payee":{"merchant_id":"AAAA"},"custom_id":"111111","invoice_id":"wcppsimusa-UA31644"}],"application_context":{"user_action":"CONTINUE","shipping_preference":"NO_SHIPPING","landing_page":"LOGIN","locale":"en-US","brand_name":"SIM USA","return_url":"https:\/\/toto.com\/?wc-ajax=ppc-return-url&elementor_page_id=0","cancel_url":"https:\/\/toto.com\/checkout\/"},"payer":{"email_address":"[email protected]","name":{"given_name":"Vincent","surname":"aaaaaa"},"address":{"country_code":"BE","address_line_1":"rue de houtain","address_line_2":"102","admin_area_2":"FEXHE-SLINS","postal_code":"11111"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"11111111"}}},"payment_source":{"token":{"id":"aaaaaaa","type":"PAYMENT_METHOD_TOKEN","source":{"paypal":{"payer":{"email_address":"[email protected]"}}}}}}
    Response Debug ID: 1d59cdfe29227
    Response: Array
    (
        [code] => 400
        [message] => Bad Request
    )
    
    Response Body: {"name":"INVALID_REQUEST","details":[{"issue":"PAYPAL_REQUEST_ID_REQUIRED","description":"A PayPal-Request-Id is required if you are trying to process payment for an Order. Please specify a PayPal-Request-Id or Create the Order without a 'payment_source' specified."}],"message":"Request is not well-formed, syntactically incorrect, or violates schema.","debug_id":"1d59cdfe29227","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-PAYPAL_REQUEST_ID_REQUIRED","rel":"information_link","method":"GET"}]}
    
    2023-01-24T06:04:31+00:00 WARNING Failed to create order. PayPal API response: [INVALID_REQUEST] Request is not well-formed, syntactically incorrect, or violates schema. https://developer.paypal.com/docs/api/orders/v2/#error-PAYPAL_REQUEST_ID_REQUIRED
    2023-01-24T06:04:32+00:00 ERROR An error occurred while trying to renew the subscription for order 108645: PAYPAL_REQUEST_ID_REQUIRED  A PayPal-Request-Id is required if you are trying to process payment for an Order. Please specify a PayPal-Request-Id or Create the Order without a 'payment_source' specified.<br>

    I replaced private informations.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @thibotus01

    This issue was resolved yesterday in a new rc1 version. Could you please re-download the 2.0.2-rc1 version from here and let us know how this works for you?
    Thanks!

    Kind regards,
    Niklas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Subscription renewal Paypal fails 2.0.2 rc1’ is closed to new replies.