• Resolved neikoloves

    (@neikoloves)


    Hello Guys, great work, much better then most we have used in the past, thank you for your work. Is there a simple way using the something like the snippets plugin to change the name the public see’s in their my account and or account drop down from PayPal payments to something else we can control like say Payment Methods or Payments. For some users they get confused and we want to make this simple without saying what gateway we are using. Thanks so much…

    • This topic was modified 3 years, 11 months ago by neikoloves.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @neikoloves,

    When Vaulting is enabled, PayPal Payments inserts a custom menu point into the my-account section called PayPal payments.
    For now, this string is not translatable, so it could only be changed directly in the plugin code or with a custom module. The latter approach requires advanced PHP knowledge though, so it’s easier to change it directly in the code.

    The goal is to move the payment token details over to the default endpoint provided by WooCommerce but I can’t say when it will happen as there have been some limitations that prevented this from being done in the first place.

    Kind regards,
    Niklas

    Thread Starter neikoloves

    (@neikoloves)

    Hello @niklasinpsyde are you saying all we need to change is the code in this module?

    woocommerce-paypal-payments/modules/ppcp-vaulting/src/VaultingModule.php

    line 55

    + array( 'ppcp-paypal-payment-tokens' => 'PayPal payments' )

    Thanks so much for the direction…

    • This reply was modified 3 years, 11 months ago by neikoloves.
    • This reply was modified 3 years, 11 months ago by neikoloves.
    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @neikoloves,

    Yes, exactly. If you change this line, for example, to + array( 'ppcp-paypal-payment-tokens' => 'Saved payment methods' ) in the VaultingModule.php file, then the new text should be visible in the my-account section right away after refreshing.
    Please keep in mind that when you install a new plugin update, this change would be reverted again to the default though.
    Permanent plugin modifications that persist through updates require a custom module. But this is more difficult to set up compared to changing a single line of code and requires development experience.

    Kind regards,
    Niklas

    Plugin Support Femi

    (@femiyb)

    Hi there

    We have not heard back from you in a while, so I’m marking this thread as resolved.
    Hopefully, you were able to proceed as advised above.
    If you have any further questions, please feel free to reopen this topic or create a new one.

    Cheers! 🙂

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

The topic ‘Changing name seen in account PayPal payments’ is closed to new replies.