-
Notifications
You must be signed in to change notification settings - Fork 5
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.
- Go to Commerce - Configuration - Payment - Payment gateways menu.
- Click button Add payment gateway.
- On Plugin section, choose ** Midtrans Promo Payment**.
- Enable feature and fill all necessary information.
- Click Save
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
orgopay
orgopay,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.
- Simply change the field Allowed Payment Method to the target promo payment-type, for example, this is BNI VA & Permata VA promo:
- For testing purpose you can set the Environment to
sandbox
and do payment testing in sandbox. You can use this Midtrans sandbox testing payment credentials.