• Resolved Sam

    (@xumbrella)


    Hello, we already use WooCommerce PayPal Payments for apple/google pay but had to stop using it for advanced card payments due to the amount of botnet attacks on the Woo orders api when using that plugin. You plugin has come recommended so I would like to switch.

    Can you advise if I can run along side WooCommerce PayPal Payments so that I use their plugin for Apple/google pay and then your plugin for the advanced card payments. I tested on my staging by adding the advanced card payments option but my concern is having two plugins connected to the one production Paypal business account. Can you advise if this set up can work, or if you guys intend to offer google/apple pay?

    thanks.

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @xumbrella

    Thank you for contacting Payment Plugins. Running WooCommerce PayPal Payments and our plugin on the same site will work and shouldn’t cause any issues. However, one thing to keep in mind is both plugins load the PayPal SDK since that is required. Having two instances of the PayPal script could in some cases cause unexpected behavior so that’s something to test for.

    While it may not be possible in your situation, I always recommend merchants that want to offer Apple Pay and GPay to use our Stripe plugin alongside our PayPal plugin.

    if you guys intend to offer google/apple pay?

    It’s definitely something we are considering but we don’t have a timeline in place yet.

    If you have a staging site where both plugins are active we’d be happy to review it and perform some tests. Please share that url if it’s available.

    Kind Regards

    Thread Starter Sam

    (@xumbrella)

    Hi, thanks for the quick reply.

    Regarding your suggestion that we use stripe, we get a MUCH better rate with PayPal than Stripe will not match so we are moving away from them completely.

    Regarding our staging site, see below link, this has both plugins currently active. Your plugin is in sandbox mode.

    https://staging-supereightnet.kinsta.cloud/

    Thanks

    Sam

    Plugin Author Clayton R

    (@mrclayton)

    Hi @xumbrella

    Having you considered Braintree for Apple Pay and GPay? You should be able to get the same rate that you receive through PayPal. Here is our Braintree plugin: https://ww.wp.xz.cn/plugins/woo-payment-gateway/

    Your plugin is in sandbox mode.

    It looks like you haven’t completed the setup for advanced card processing in sandbox mode. Here is a link to our docs. https://paymentplugins.com/documentation/paypal/paypal-credit-card-settings/

    The tests for PayPal ran smoothly. Order #720132.

    Kind Regards

    Thread Starter Sam

    (@xumbrella)

    The rate through brain tree is not quite as good and setup was more of a faff.

    Should I assume that the two plugins are compatible or do I need to complete the sandbox set up for you to test?

    thanks

    Plugin Author Clayton R

    (@mrclayton)

    Should I assume that the two plugins are compatible or do I need to complete the sandbox set up for you to test?

    I’d recommend setting up sandbox so card processing can be tested. That shouldn’t take long and will be worth the peace of mind.

    Let us know when it’s ready and we will test it.

    Kind Regards

    Thread Starter Sam

    (@xumbrella)

    ok, looks like it is set up now as I can see the card fields, would you have a look?

    many thanks.

    Plugin Author Clayton R

    (@mrclayton)

    Hi @xumbrella

    Card processing isn’t setup yet. This is the notice showing on your checkout page:

    Credit card processing is not available. Please use another payment method.

    Kind Regards

    Thread Starter Sam

    (@xumbrella)

    Weird, the card fields show for me. However, when I use a test card, I get the following warning: Error with obtaining 3DS contingency, {“code”:”internal_service_error”,”description”:”api_error”}

    EDIT – I just tried it again and it went through…

    Thread Starter Sam

    (@xumbrella)

    To add to this, it seems really erratic. I just loaded the checkout page and get this error: “this.paypal.CardFields is not a function” and the card fields don’t load. Then I refreshed the page and everything was fine.

    Could it be conflicting with the Paypal for Woocommerce Paypal plugin?

    Plugin Author Clayton R

    (@mrclayton)

    Hi @xumbrella

    Could it be conflicting with the Paypal for Woocommerce Paypal plugin?

    Yes, that is what’s happening. Your WooCommerce PayPal Payments plugin is loading the PayPal JS SDK, which has query parameters specific to that plugin. Our plugin is also loading the PayPal JS SDK with it’s query parameters and depending on load order, one is overriding the other.

    The query parameters determine which payment functionality PayPal will internally load. If the cards parameter is not included, then the advanced card processing component won’t load.

    Kind Regards

    Thread Starter Sam

    (@xumbrella)

    OK so even if WooCommerce PayPal Payments plugin is only doing the google and apple pay it would still be loading the JS SDK?

    thanks

    Plugin Author Clayton R

    (@mrclayton)

    Hi @xumbrella

    OK so even if WooCommerce PayPal Payments plugin is only doing the google and apple pay it would still be loading the JS SDK?

    Yes because it’s that PayPal SDK that renders your Apple Pay and GPay payment integrations. We can take a look at restricting the loading of the other plugin’s script to prevent conflicts, but that would take some time to thoroughly review and test.

    Kind Regards

    Thread Starter Sam

    (@xumbrella)

    OK thanks. I do not think that will be necessary. I am exploring your suggestion to use Braintree for Google and Apple Pay. One other question…

    We are Woo’s Woocommerce Paypal Payments plugin for apple pay currently and it sets the appropriate domain association file. To transition from that plugin to yours, is it as simple as disabling the apple pay gateway in that plugin (plugin will remain active in case of refunds) and enable yours and then letting your plugin set the domain association file? Will that over write the one from the Woocommerce Paypal Payments plugin?

    Thanks.

    Thread Starter Sam

    (@xumbrella)

    Hey sorry I have another question. We have added the API keys and enabled braintree for card payments but get the following error: “There was an error processing your payment. Reason: Customer ID is invalid.”

    What have I missed? As far as I can see the API keys etc. are correct and the test connection worked fine.

    Plugin Author Clayton R

    (@mrclayton)

    Hi @xumbrella

    is it as simple as disabling the apple pay gateway in that plugin (plugin will remain active in case of refunds) and enable yours and then letting your plugin set the domain association file?

    All you need to do is click the “Add Domain Association File” button on the Apple Pay Settings page. That will add the file to your site’s correct directory. I am not sure what naming convention the PayPal plugin uses so not sure if it will overwrite any existing file you have.

    There was an error processing your payment. Reason: Customer ID is invalid…What have I missed? 

    That error could indicate that the Braintree customer ID associated with your user account has been deleted from the sandbox account or exists in another sandbox if you were previously testing a different Braintree account. I recommend testing with a fresh user account that doesn’t have any existing transactions. You shouldn’t observe any errors.

    Kind Regards

Viewing 15 replies - 1 through 15 (of 19 total)

The topic ‘Apple pay’ is closed to new replies.