• Resolved drduft9999

    (@drduft9999)


    Hi guys,

    We have used in the past the plugin from Payments plugin (Braintree for Woocommerce) and would like to transition to the WooCommerce PayPal Powered by Braintree Payment Gateway. We have also tried to simply switch the plugins but experience the problem that the payments token are not automatically migrated to WooCommerce PayPal Powered by Braintree Payment Gateway. How can we solve this issue?

    Best,

    DrDuft

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor SkyVerge

    (@skyverge)

    Hey @drduft9999,

    Thanks for writing to us about our plugin! I am happy to help out here. 🙂

    You would need to migrate the payment token meta from the old plugin to the new plugin in order to ensure that all the saved tokens are transferred over. This can be done by using a CSV Import and CSV Export plugin combo to export the data from the previous plugin and then re-import it with our plugin’s naming conventions.

    Would you please confirm which Braintree plugin you have used previously by taking a screenshot of the plugin in your WordPress dashboard so I can see the full version and author details?

    Thanks,
    Tamara 🙂

    Thread Starter drduft9999

    (@drduft9999)

    Hey Tamara,

    Thank you very much for your reply. We are currently using this plugin: Payment Plugin

    Please guide us step by step how we can migrate the data from our previous payment provider to your payment plugin. Which import-export combo have we to use and which name conventions do we have to use?

    Best,

    Thread Starter drduft9999

    (@drduft9999)

    Hey Tamara,

    Would you please be so kind and assist us in solving this task?

    Best,

    Plugin Contributor SkyVerge

    (@skyverge)

    Hey @drduft9999,

    I’m sorry for the delay in getting back to you here. I really appreciate your patience. 🙂

    My apologizes for the confusion. I had assumed you were using an older version of Braintree that was developed by our team several years ago. However, it looks like you are using a plugin made by a different developer so I am not as familiar with how they store the data, but I took a quick look at the code and I think I have enough information to help here.

    I would recommend installing a WordPress User Import/Export plugin such as this one to export your users. Ensure that your export includes all user meta, including hidden meta when exporting and then check the resulting file for any meta keys that may be related to the previously-used Braintree plugin.

    You will need to locate the Braintree Customer ID which looks to be stored in the braintree_production_vault_id user meta key by the Braintree For WooCommerce plugin. You will then need to update the CSV file to remove all other columns except for the User ID and the column for this meta key. This will give you a two-column file that you may use to import the customer IDs into a new meta key which, in the case of our Braintree plugin, is wc_braintree_customer_id.

    Some importer plugins require you to change the column header to the name of the meta while others let you map the meta key while importing so be sure to familiarize yourself with the documentation of the CSV Import plugin you decide to use.

    With the customer ID in place, our plugin will automatically load all of the tokens from within the Braintree vault so you can safely avoid exporting and importing payment tokens 🙂

    Would you please let me know if this is helpful and if there’s anything else I can help with?

    Thanks,
    Tamara

    • This reply was modified 3 years, 9 months ago by SkyVerge. Reason: added a note about payment tokens
    Thread Starter drduft9999

    (@drduft9999)

    Hi Tamara,

    Thank you very much for your reply. We have looked into the database. You are right, currently the meta is stored under Braintree_production_vauld_id. Would it be sufficient to simply rename it to wc_braintree_customer_id without importing or exporting anything?

    So in general we would simply change the name. Would that work?

    Best,

    Hey @drduft9999,

    That’s certainly possible if you are comfortable with editing the database but I would recommend performing a full database before you do just in case anything goes wrong.

    Would you please let me know if this is helpful and if there’s anything else I could help with?

    Thanks and have a lovely weekend 🙂

    Tamara

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Migration from Braintree for WooCommerce to Woocommerce Paypal’ is closed to new replies.