Guide to setting up Paypal payment for WooCommerce.

CONTACT FLATSOME Privacy Policy

To enable Vietnamese Dong currency on PayPal for WooCommerce, copy a code into function.php on the website. Set up PayPal payment in WooCommerce settings, entering PayPal email, identity token, and API credentials. On PayPal.com, get the identity token by logging in, going to Profile and settings, then Website preferences. Turn on Auto Return, enter the Return URL, and copy the Identity Token. Get API credentials by going to API access, selecting Request API signature, and copying the information into WooCommerce. Save changes to finish. This process allows the use of VND currency on PayPal for WooCommerce transactions.

Setting Up PayPal Payments for WooCommerce

I. On Website:

Step 1: By default, PayPal does not support Vietnamese Dong currency. To use VND, add the following code into function.php:

// allow VND for WooCommerce
add_filter('woocommerce_paypal_supported_currencies', 'enable_custom_currency');
function enable_custom_currency($currency_array) {
    $currency_array[] = 'VND';
    return $currency_array;
}

Step 2: In WooCommerce, navigate to Settings -> Checkouts -> Paypal.

Instructions for setting up Paypal payments for WooCommerce

Step 3: Configure Paypal payment settings:

  1. Select Enable Paypal Standard
  2. Enter Paypal Email
  3. Re-enter Email
  4. Enter PayPal identity token
  5. Enter API Credentials

After entering all the required information, click Save changes to save.

Instructions for setting up Paypal payments for WooCommerce

II. On Paypal.com

  1. Get PayPal identity token

Visit www.paypal.com/signin to log in.

Step 2: Navigate to Profile -> Profile and settings.

Step 3: Under My Profile, select Selling tools.

Step 4: In Website preferences, choose Update.

Step 5: Configure the following settings:

  1. Auto Return: On
  2. Return URL: Website link returned after payment
  3. Payment Data Transfer: On

Copy the Identity Token to a file for use in WooCommerce.

Choose Save to confirm changes.

See also  Managing Website Operations

2. Get API credentials

Repeated steps 1 to 3 from the PayPal identity token section.

Step 4: In API access, select Update.

Step 5: Under NVP/SOAP API integration, click Request API credentials.

Step 6: Choose Request API signature, then Agree and Submit to obtain API credentials.

Step 7: Click Show to display the information. Copy and paste this into WooCommerce.

Once completed, click Done to finish the setup process.

This guide provides a detailed walkthrough of how to set up PayPal payments for WooCommerce, ensuring a seamless integration for processing online transactions.

5/5 - (1 vote)

Related posts