• quadlayers

    (@quadlayers)


    Hello Team,

    Thank you for your efforts in maintaining this complex integration with PayPal. As a developer, I understand the challenges involved.

    I would like to take a moment to describe our current situation, which is somewhat unusual.

    Websites:

    http://www.quadmenu.com
    http://www.quadlayers.com

    Setup:

    PHP 8.2
    WordPress 6.5.1
    WooCommerce 8.9.1
    WooCommerce Subscriptions 6.3.1

    PayPal:

    Country: Uruguay

    WooCommerce Subscriptions:

    Virtual products with annual renewal periods.

    Issue:
    All renewal orders for WooCommerce Subscriptions related to PayPal from both websites are being rejected with the following error code:

    https://snipboard.io/khNvVa.jpg

    
    <span id="L29" class="line log-entry" style="display: block; width: 1526px; position: relative; color: rgb(60, 67, 74); font-family: Consolas, Monaco, monospace; font-size: 13px;"><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"><span class="log-timestamp" style="font-weight: 700;">2024-06-01T09:48:57+00:00</span> <span class="log-level log-level--info" style="display: inline; padding: 0px 0.5em; font-weight: 700; line-height: 1; color: rgb(0, 0, 0); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; text-align: center; white-space: nowrap; vertical-align: baseline; border-width: 0.16em 0.16em 0.16em 1em; border-top-left-radius: 0.5em; border-bottom-left-radius: 0.5em; border-color: rgb(0, 116, 217);">Info</span> Subscription Request Response: Array
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">(
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [code] => 200
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [message] => OK
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">        (
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">            [data:protected] => Array
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                (
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                    [content-type] => text/plain; charset=utf-8
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                    [content-length] => 293
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                    [date] => Sat, 01 Jun 2024 09:48:57 GMT
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                    [cache-control] => max-age=0, no-cache, no-store, must-revalidate
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                    [paypal-debug-id] => xx
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                    [traceparent] => xx
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                    [vary] => Accept-Encoding
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                    [x-paypal-api-rc] => 11452
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                    [x-paypal-operation-name] => SetExpressCheckout
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                    [strict-transport-security] => max-age=31536000; includeSubDomains
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">                )
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">        )
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [body] => Array
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">(
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [TIMESTAMP] => 2024-06-01T09:48:57Z
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [CORRELATIONID] => xx
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [ACK] => Failure
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [VERSION] => 124
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [BUILD] => xx
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [L_ERRORCODE0] => 11452
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [L_SHORTMESSAGE0] => Merchant not enabled for reference transactions
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [L_LONGMESSAGE0] => Merchant not enabled for reference transactions
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">    [L_SEVERITYCODE0] => Error
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">)
    </span><span class="line-content" style="display: block; overflow: hidden; padding: 0px 1em; border-left: 1px solid rgb(195, 196, 199); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">
    </span>)</span>
    
    

    PayPal Support:
    I have contacted PayPal support multiple times, and they have confirmed that reference transactions on my account are approved.

    Test:
    I created a test subscription with a one-day renewal period and made the payment from another PayPal account. The renewal orders were successfully fulfilled.

    https://snipboard.io/khMsa4.jpg

    I would greatly appreciate it if you could help identify the root cause of this issue and suggest potential solutions, as this problem is significantly impacting our business.

    Best regards

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter quadlayers

    (@quadlayers)

    Hello Team,

    I’ve confirmed with PayPal support that reference transactions are activated on the account.

    https://snipboard.io/2Xyrtd.jpg

    The mentioned transaction is the test subscription I’ve explained above.

    Thanks

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @quadlayers

    Thanks for reaching out to us, we’re here to help.

    All renewal orders for WooCommerce Subscriptions related to PayPal from both websites are being rejected with the following error code

    Could you let us know the source/place where you are seeing this output?

    In any case to investigate this issue further, we’d like to examine your plugin log files. Please note that these log files are only generated if “Logging” is activated in your plugin settings. You can enable this feature from the “Connection” tab in your plugin settings. Once “Logging” is enabled, every transaction will generate a log entry.

    It’s important to understand that if “Logging” wasn’t enabled before, there will be no previous records of the transactions. In that situation, we’ll need to wait for upcoming failed orders to generate new log entries.

    You can retrieve these logs from the path:
    Access the WooCommerce > Status > Logs section, and proceed to choose the most recent “woocommerce-paypal-payments” file associated with the date of the failed order.

    Please provide those log entries on our PrivateBin. After uploading, send us the link, so we can review them in detail. If you don’t want to share these logs publicly here, you can contact us privately by opening a ticket with our service desk here: Request Support. Please include this thread’s URL in your ticket for reference.

    Looking forward to your feedback.

    Kind Regards,
    Krystian

    Thread Starter quadlayers

    (@quadlayers)

    Hello @inpsydekrystian

    The source is the plugin logs of quadmenu.com: https://snipboard.io/u1kKSn.jpg

    For some reason there are multiple logs files, but each log has only one transaction. This is a total of 3 transactions with errors but we have more than 11 failed transactions: https://snipboard.io/9us1ty.jpg

    https://privatebin.syde.com/?a0004397e79e329d#22qHpDf4YQWgixWS29rQMdKYk2xpzCnejYC91Y6jKcu9

    https://privatebin.syde.com/?83a97fb1788911c9#6Tj2HSdMYmAEpQhxCbPY5DKEappbDcey7wwhaFLU48Ch

    https://privatebin.syde.com/?226882fcf91e62a0#7kRhQuZVbuKrSNmsUYJX9bCrD37zvdradBUg6BxSbksM

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @quadlayers

    The logs help clarify the situation somewhat. It appears that you might be using a different PayPal plugin—possibly PayPal Standard for maintaining subscriptions, rather than the PayPal Payments plugin. If this isn’t the case, we can further investigate.

    To move forward, it would be helpful to obtain a system report. You can get this by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button.

    Given that the logs provided do not seem to be from our plugin, the best course of action would be to contact WooCommerce directly about this issue. You can create a ticket here: Create a Ticket with WooCommerce.

    Please let us know if you need further assistance.

    Kind Regards,

    Krystian

    Thread Starter quadlayers

    (@quadlayers)

    Hello @inpsydekrystian

    We don’t have any other Paypal plugin activated and the native Paypal standard payment is deactivated.

    https://snipboard.io/IQiPjl.jpg

    Please check the system report status here: https://privatebin.syde.com/?8f0e0fef6ecade45#F5HDvmhQgjzNW2hf2yAdBGiPNo5BENswYhEEGA5AUGT3

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @quadlayers

    Thanks for clarification and the system report. According to the system report, Reference Transactions are enabled on your account. However, to further investigate, we’ll need logs from our plugin. Currently, logs are not enabled.

    Please refer back to this reply: https://ww.wp.xz.cn/support/topic/merchant-not-enabled-for-reference-transactions-2/#post-17797880

    Enable logging and provide logs from a failed renewal order. This will help us analyze the cause of the problem. Without logs, there’s not much we can do. Additionally, please include screenshots of the order notes.

    Looking forward to your response.

    Kind regards,
    Krystian

    Thread Starter quadlayers

    (@quadlayers)

    Hello @inpsydekrystian

    Loggin

    The logging option has been enabled for a long time.

    https://snipboard.io/Lyn9qY.jpg

    https://snipboard.io/y5MfPF.jpg

    Orders

    The renewal order doesn’t contain notes.

    Parent: https://snipboard.io/PzygLN.jpg https://snipboard.io/Xy8nTK.jpg

    Subscription: https://snipboard.io/b450En.jpg

    Renewal: https://snipboard.io/IDBa1u.jpg

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @quadlayers

    You mentioned earlier that PayPal Standard is deactivated, yet the screenshots you’ve provided seem to be from PayPal Standard, which is confusing. Additionally, the status page screenshot shows no log records from the PayPal Payments plugin.

    Please refer back to the instructions in my previous message to enable Logging specifically for the PayPal Payments plugin. This will allow us to confirm that the transactions are indeed being processed by our plugin and help us identify the issue more accurately.

    Once you have the logs enabled and have gathered some data from transactions processed by the PayPal Payments plugin, please share those details with us. This information is crucial for pinpointing the problem.

    Kind Regards,

    Krystian

    Thread Starter quadlayers

    (@quadlayers)

    @inpsydekrystian, let’s continue this support through the Inpsyde platform. I’ll leave this ticket open to share solution once we solve the issue, in case other users experience the same issues.

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

The topic ‘“Merchant not enabled for reference transactions”’ is closed to new replies.