Skip to content

01 Credit card fullpayment and other payment methods

Yocki edited this page Nov 16, 2016 · 4 revisions

Installation

Minimum Requirement

  • Wordpress v3.9.1 or greater (tested up to v4.5.x)
  • WooCommerce v2.1.11 or greater (tested up to v2.5.x)
  • PHP v5.4 or greater
  • MySQL v5.0 or greater

Manual Installation

  1. Download the plugin from this repository.

  2. Extract the plugin, then rename the modules folder as midtrans-woocommerce.

  3. Upload the unzipped plugin folder to your WordPress installation's wp-content/plugins/ directory.

  4. Install and activate the plugin from plugins menu within the WordPress admin panel

  5. Go to WooCommerce - Settings - Checkout - Midtrans menu, fill the configuration fields.

    • Fill Title with text button that you want to display to customer

    • Select Environment. Sandbox is for testing transaction and Production is for real transaction

    • Fill Client and Server key. You can find this credential on Midtrans MAP Dashboard.

       ![Woo Settings](https://github.com/yocki-s/image-snap-repo/blob/master/image/snap-woo1.png)
      

Midtrans MAP Configuration

  1. Login to your Midtrans MAP Dashboard.

  2. Select your environment (sandbox or production).

  3. Go to settings - configuration

    • Insert http://[your web]/?wc-api=WC_Gateway_Midtrans as your Payment Notification URL
    • Insert http://[your web]/?wc-api=WC_Gateway_Midtrans as your Finish, Pending and Error Redirect URL