• Resolved romaleg

    (@romaleg)


    is it possible in the plugin to prohibit processing payments from accounts of a certain country? I also wanted to know if we sell only digital goods, that is, the client gets access to them immediately after payment. But paypal always writes in the logs like this “category”:”PHYSICAL_GOODS”, how can I change it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @romaleg,

    With a code snippet like this, it is possible to hide the WooCommerce gateway for certain countries. There are also plugins to achieve this.

    But the origin country of the PayPal buyer account is unknown to the plugin, so blocking payments based on this unknown factor does not work from the plugin’s perspective. You could only use the billing details provided in the WooCommerce Checkout to show the gateway conditionally.
    I’m not sure something like this exists, but I suggest asking the PayPal merchant support directly if blocking payments from certain PayPal accounts is possible on a PayPal level.

    I also wanted to know if we sell only digital goods, that is, the client gets access to them immediately after payment. But paypal always writes in the logs like this “category”:”PHYSICAL_GOODS”, how can I change it?

    The product must be marked both virtual and downloadable. If the virtual checkbox is not set, the product is always treated as a physical product.
    I hope this helps!

    Kind regards,
    Niklas

    Thread Starter romaleg

    (@romaleg)

    Thanks!
    I have another question, paypal considers different fees as physical goods. As a result , it turns out like this:
    [{"name":"Test \u20ac10","unit_amount":{"currency_code":"EUR","value":"9.50"},"quantity":"1","description":"","category":"DIGITAL_GOODS"},{"name":"Service fee","unit_amount":{"currency_code":"EUR","value":"6.20"},"quantity":"1","description":"","category":"PHYSICAL_GOODS"},{"name":"Processing fee","unit_amount":{"currency_code":"EUR","value":"0.38"},"quantity":"1","description":"","category":"PHYSICAL_GOODS"}]

    • This reply was modified 2 years, 2 months ago by romaleg.
    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @romaleg,

    The fees are entirely handled by PayPal, and PayPal Payments only retrieves and displays them in the WooCommerce order. That’s all the plugin does regarding PayPal fees.
    So if you have any questions regarding the PayPal fee structure, I would need to refer you again to the PayPal merchant support.

    Kind regards,
    Niklas

    Plugin Support Syde Joost

    (@joostvandevijver)

    Since we haven’t heard back from you, I’m going to mark it as resolved.
    In case you’re still having problems, feel free to let us know!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Prohibit payment from certain countries’ is closed to new replies.