• Resolved yknivag

    (@yknivag)


    When I test the plugin using the PayPal Sandbox on my pre-production site I see a message on the checkout saying “PayPal Pay in 3 interest-free payments of £xx.xx. Late fees may apply. Learn more.”

    When I use the plugin on my client’s production site (same theme, same plugins) but attached to a live PayPal merchant account the message doesn’t appear. I have tried every combination of options in the settings and nothing makes any difference.

    In both cases I can see the page make a request to PayPal for the messaging (to https://www.sandbox.paypal.com/credit-presentment/smart/message in pre-prod and to https://www.paypal.com/credit-presentment/smart/message in production). In pre-prod I see that call return 20 bytes of data and subsequent calls are made to a variety of PayPal hosted js assets. However in prod it returns a status of 200 but 0 bytes of data.

    Interestingly I also see the following in the console on prod (anonymised):

    js?client-id=AbO************************************************************************************V7P&currency=GBP&integration-date=2020-10-15&components=buttons,messages&vault=false&commit=true&intent=capture&merchant-id=ADG*******HCA&disable-funding=sepa,bancontact,eps,giropay,ideal,p24,sofort,venmo:2 unhandled_error {err: "Error: Detected container element removed from DOM…cludes/js/jquery/jquery.min.js?ver=3.5.1:2:28294)", timestamp: "1623762210330", referer: "ilo*********dia.co.uk", uid: "uid_5a4****************mdq", env: "production"}

    Which suggests perhaps that the DOM element it would like to put the message in is not there? I don’t see this error in pre-prod running the same theme. I have the full log if it would be useful.

    When a customer tries to pay by PayPal they are asked on the PayPal screen if they wish to choose “Pay In 3” and so the merchant account appears to be correctly configured to support “Pay In 3” (indeed I installed this plugin following an email from PayPal to the merchant account holder suggesting doing so would facilitate “Pay In 3”.

    Is there something I do to make the “Pay In 3” messaging appear in prod? Or is this really a PayPal issue?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @yknivag

    normally it should work in the prod environment too when it’s working in sandbox mode. Can you switch to the theme Storefront temporarily to see if its working with that theme?

    Kind regards
    Andreas

    Plugin Support Andreas W.

    (@aweissinpsyde)

    closed because of inactivity

    Thread Starter yknivag

    (@yknivag)

    Hi @aweissinpsyde apologies for the delay in getting back to you – it is not always easy arranging to change the theme of a client’s production store at short notice.

    Having managed to secure a small time window to do some testing I can confirm that exactly the same behaviour is experienced using the Storefront theme.

    I can see the call going to https://www.paypal.com/credit-presentment/smart/message and I can see a 0 byte response return.

    What remains unclear is whether this 0 byte response is because the call isn’t being made correctly by the plugin or because PayPal are deliberately rejecting the call for the merchant account in question or perhaps there is a bug in PayPal’s API.

    One would hope that if the merchant account weren’t permitted to use PayIn3 messaging then the API would respond with a 403 or similar rather than 200 but with 0 bytes.

    Given that the customer is offered PayIn3 on the actual payment screen I don’t think the issue is that the merchant account isn’t correctly configured.

    This would leave either a bug in the plugin where the call isn’t perhaps structured correctly, or a bug in PayPal’s API where the response is incorrect.

    The call that is made contains the option debug=false – I wonder if a more useful response may be obtained setting that to true? Happy to test that but would need to know where in the plugin that call is made so that I could temporarily change it.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @yknivag

    no problem. After a certain day, tickets will be closed by auto but of course, you can re-open it anytime. Let me get in touch with our developers tomorrow morning to get more information so we can help you to solve that issue.

    Have a nice evening
    Regards
    Andreas

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @yknivag

    can you please contact PayPal about it too. Also, clients should be able to pay in 3 on the PayPal website https://www.paypal.com/uk/webapps/mpp/paypal-payin3/faq Using PayPal Pay in 3 > 1. How can I pay with PayPal Pay in 3?

    Thank you
    Best regards
    Andreas

    Thread Starter yknivag

    (@yknivag)

    Hi @aweissinpsyde

    Customers of the site can indeed use PayIn3 once they have pressed the “Pay With PayPal” button, which is how I know that the merchant account is correctly set up.

    As with so many PayPal offers their documentation for buyers is excellent but there appears to be absolutely no documentation for merchants.

    What exactly would you like me to ask my client to report to PayPal? Contacting PayPal is at best enormously difficult. In the case where the client will likely not understand the question they are asking, that could take months to get an intelligible reply.

    Kind Regards,

    Gavin.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @yknivag

    your clients don’t need to contact PayPal. You as a website owner may do this because as you wrote:

    When I use the plugin on my client’s production site (same theme, same plugins) but attached to a live PayPal merchant account the message doesn’t appear.

    It could be PayPal deactivated pay in 3 on your website. We don’t have any access to your PayPal account to have a look into. Only PayPal can do that.

    Best regards
    Andreas

    Thread Starter yknivag

    (@yknivag)

    Hello @aweissinpsyde

    How can I contact PayPal and ask about why they aren’t displaying messaging from an account that doesn’t belong to me on a site for a business that doesn’t belong to me?

    In my testing using my site and my developer’s Sandbox account the messaging displays perfectly. On my client’s site using her PayPal merchant account the messaging doesn’t display.

    The PayPal merchant account in question (that of my client) is taking PayIn3 payments (there was one just yesterday) so there doesn’t appear to be a problem with the configuration there.

    I return to a paragraph I posted earlier in this thread:

    I can see the call going to https://www.paypal.com/credit-presentment/smart/message and I can see a 0 byte response return.
    […]
    The call that contains the option debug=false – I wonder if a more useful response may be obtained setting that to true? Happy to test that but would need to know where in the plugin that call is made so that I could temporarily change it.

    Is it possible set the debug flag on that API call?

    Kind Regards,

    Gavin.

    Thread Starter yknivag

    (@yknivag)

    It would appear that PayPal have changed something as this has started to work properly in the last 24 hours.

    No issue was logged, so perhaps there was a wider issue?

    Thank you for your support, I have marked the thread as resolved.

    Kind Regards,

    Gavin.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PayPal PayIn3 Messaging’ is closed to new replies.