Skip to content

Promo discount payment

Alexander Kevin edited this page Jun 16, 2020 · 1 revision

Midtrans Promo Payment (for Drupal8) is a feature that allows merchant to offer a promotion deal in accordance with the payment provider. Merchant can use the first 1-8 digits BINS of card or simply use the payment-type to utilize the Promo feature.

On the checkout page, customer will be presented option to choose for the Promo Payment option. If he choose so, Drupal Commerce will apply discount (based on admin setting config) to the transaction, and then only allow the customer to pay with the Allowed Payment Method within Snap payment page.

Note: If you have not installed the plugin, you can follow Midtrans Drupal8 Plugin installation procedure.

Credit card BIN Promo

  1. Go to Commerce - Configuration - Payment - Payment gateways menu.
  2. Click button Add payment gateway.
  3. On Plugin section, choose ** Midtrans Promo Payment**.
  4. Enable feature and fill all necessary information.
  5. Click Save drupal8-promo

Field description:

  • Display name will be displayed to customers, so feel free to change to your own preferred message. Usually filled with the promo name and jargon.
  • Fill in: Merchant ID, Server & Client Key, and Environment as instructed in Midtrans Snap Woocommerce Plugin installation procedure.
  • Allowed Payment Method, you can fill in with the target promotion payment method. e.g:credit_card or gopay or gopay,bni_va, etc.
  • Allowed CC BIN, if you are doing card-based promotion, fill with the target BINs number provided by the bank that is providing the promo.
  • Discount Type, Choose Discount type as per your desire.
    Percentage is to create a discount based on a percentage.
    Flat Amount is to create a discount based on a fixed amount.
  • Fill Discount Amount, field with the desired amount (if you choose percentage, for example, you can fill it with 20. It means you give a discount 20%).
  • CC BIN Number is The first 6 digits of a credit card number, These identify the institution that issued the card to the cardholder.

GoPay Promo, Bank Transfer Promo, or Other Payment Type

  • Simply change the field Allowed Payment Method to the target promo payment-type, for example, this is BNI VA & Permata VA promo:

bank-promo

Other