• entropis5db00266f4

    (@entropis5db00266f4)


    I successfully installed the revolute payment gateway and everything seems to work except the apple and google pay function.

    Context: I am running a webshop on woocomerce hosted by word press

    Error. The setup page for revolut/ apple and google pay comes up with the following error:
    Setup Failed: Can not find Apple Pay on-boarding file: /wordpress/core/6.9.1/.well-known/apple-developer-merchantid-domain-association

    on the wp server Manu side there is a php error: 

    GROUP

    plugins

    SOURCE

    revolut-gateway-for-woocommerce

    SEVERITY

    WARNING

    FILE

    /srv/htdocs/wp-content/plugins/revolut-gateway-for-woocommerce/includes/class-wc-revolut-apple-pay-onboarding.php

    LINE

    354

    MESSAGE

    PHP Warning: mkdir(): Read-only file system in /srv/htdocs/wp-content/plugins/revolut-gateway-for-woocommerce/includes/class-wc-revolut-apple-pay-onboarding.php on line 354

    Problem solving. I have tried to uninstall and reinstall the plugin, clear caches etc. to no avail. The WP Helpdesk AI advised that there is a write issue in the directory where the file should be installed. However, their human staff indicated that this is not the issue and that there is some read issue instead. They then advised me to contact the plugin help on this page. So here I am crossing my fingers and hoping for a solution 🙂

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support businessrevolutsupport_sgudymyak

    (@sgudymyak)

    Hello @entropis5db00266f4,

    Thank you for contacting us,

    My name is Svyatoslav and I am an Integration Specialist in Revolut,

    I am writing to you in regards to the issue being reported,

    In this regards I would like to mention that you should make sure that the file should be present on the https://wolfseeds.ie/.well-known/apple-developer-merchantid-domain-association endpoint as explained on the Apple Registration documentation page.

    After making the file available you should re-enable the A/G pay payment option and press save in order to re-trigger the Apple Pay registration, which should resolve the issue being encountered,

    Please let me know whether this works for you and whether you may need any further assistance in this regards,

    I will be looking forward to your response,

    Kind regards,
    Svyatoslav.

    Thread Starter entropis5db00266f4

    (@entropis5db00266f4)

    Hi, I can’t upload files to the server why I have not been able to do this. I imagine this has to do with some access on the host server that is not an unique issue to me.

    If you could let me know what you want me to say to the WP support team I can pass on your message. why does the plugin fail to add the file, if I may ask? is it access issues? if so, I will not be able to do it manually either…

    Thanks

    Christian

    Plugin Support businessrevolutsupport_sgudymyak

    (@sgudymyak)

    Hello @entropis5db00266f4,

    Thank you for your followup message,

    In order to resolve this issue you should reach out to your hosting provider and ask them to give the necessary permissions to the www-data user, in order to be able to create folder/files, alternatively you can ask them to manually upload the file to the https://wolfseeds.ie/.well-known/apple-developer-merchantid-domain-association location and then you’ll be able to successfully register the Apple Pay payment method.

    Kind regards,
    Svyatoslav.

    Thread Starter entropis5db00266f4

    (@entropis5db00266f4)

    Ok, I just wrote a reply that unfortunately got lost so hopefully this will work.

    I have received the following response from the WP hosting team:

    ” I checked this further and noticed that the “apple-developer-merchantid-domain-association” file is indeed available in the /htdocs/.well-known folder, but the Revolut Gateway for WooCommerce plugin is looking for it in the /wordpress/core/6.9.1/.well-known folder.
     
    That’s why on the Revolut Payment Gateway Settings page, displays this error on clicking the Setup button in the Onboard shop domain for Apple Pay field”

    “But on WordPress.com plugins don’t have write access to that directory as WordPress core files are read-only and shared across millions of sites we host.”

    “This is ultimately a third-party plugin limitation. The Revolut Gateway plugin doesn’t account for WordPress.com‘s file system structure where the core path is read-only. And it is on the plugin developer (Revolut) to update their plugin to handle our hosting environment.
     
    The best next step will be to reach out to your plugin developer for additional assistance. You will want to share the error message, clarify that on WordPress.com the core WordPress directory is inaccessible, and check if they have any workaround available.”

    Please advice on what to do next

    Sincerely

    Christian

    Plugin Support businessrevolutsupport_sgudymyak

    (@sgudymyak)

    Hello @entropis5db00266f4,

    Thank you for your confirmation message,

    In order to avoid encountering this unexpected behaviour I would recommend you manually registering the Apple Pay domain by using the steps described in the Register Apple Pay domain.

    This will prevent the issue from occurring as will trigger the registration manually,

    Let me know whether this may work for you,

    Kind regards,
    Svyatoslav.

    Thread Starter entropis5db00266f4

    (@entropis5db00266f4)

    Hi Svyatoslav,

    I note that you repeat the suggestion to upload a file to my hosting environment.

    However, the message I got from WP hosting, which I quoted in my previous post, indicates that this is not possible.

    I can summarise the WP host teams key points here:

    A) the same file actually already exists on their file system. The problem is that the revolut app looks for it in the wrong place. (See their path: “/htdocs/.well-known folder” compared to your path: “/wordpress/core/6.9.1/.well-known folder”)

    B) no access is given to the section of the environment you want me to upload the file in. This makes it impossible for me to upload the file.

    C) they indicate that this is an app developer issue, not a user issue that I can solve.

    Please advise on what the next step to resolve this is.

    Christian

    Plugin Support businessrevolutsupport_sgudymyak

    (@sgudymyak)

    Hello Chrisitian,

    Sorry for the misunderstanding the suggestion would be jus to make the registration API call,

    Not re-uploading the file, as seems the file is already available on your domain ( as WP support team have adjusted it accordingly).

    Example for the call – you will need to substitute the secret key by your own secret key.

    curl -L -X POST ‘https://merchant.revolut.com/api/apple-pay/domains/register’ \
    -H ‘Content-Type: application/json’ \
    -H ‘Authorization: Bearer <yourSecretMerchantApiKey> \
    –data-raw ‘{
    “domain”: “wolfseeds.ie”
    }’


    Let me know whether this approach may work for you,

    Once registered though the API you can re-enable the Apple / Google Pay payment methods.

    Thank you in advance for your cooperation,

    Kind regards.
    Svyatoslav.

    Thread Starter entropis5db00266f4

    (@entropis5db00266f4)

    Good afternoon,

    This looks like coding. I am not confident or competent enough to execute something like that and nor do I think it’s reasonable to expect that I should do this.

    Not to be grumpy but I have to say that I expected Revolut’s WooComerce plugin to support WP native hosting environment out of the box.

    The issue remains unresolved.

    Hello @entropis5db00266f4 ,

    I do understand your frustration. You’re right to expect a seamless experience without needing to dive into the technical side of things yourself.

    To get this sorted as quickly as possible, could you please reach out to our support team through the Revolut Business chat? When you do, please provide the URL to this WooCommerce thread so it gets properly escalated to us.

    As we may require you some additional information which can not be shared on a public forum,

    Thank you in advance!

    I will be looking forward to your response,

    Kind regards,
    Svyatoslav.

    Thread Starter entropis5db00266f4

    (@entropis5db00266f4)

    Thank you Svyatoslav

    I will do that

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

You must be logged in to reply to this topic.