D
D
Dmitry Filandor2017-07-25 16:53:27
Payment cards
Dmitry Filandor, 2017-07-25 16:53:27

Can I set a discount when paying with a visa?

Hello! I want to do such a thing - to motivate customers to pay in the store (woocommerce) with a plastic card, to do - 50 rubles discount when paying with a visa .... I thought it was a coupon, but it wasn’t there ... because the coupon is first driven in, and then the payment method is selected ... you can drive in, get a discount and pay by another method .....
how is it possible?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
EverOne, 2017-07-25
@LifeAct

https://ru.stackoverflow.com/questions/647410/%D0%...

V
Vladislav, 2017-07-25
@Konark

How do you make online payment? Through some service?
My suggestion:
Give coupons for the next purchase for payment with a visa. Easily implemented and also a kind of motivation.

W
WordPress WooCommerce, 2017-07-26
@maxxannik

There are 3 options for integration with the payment gateway:
1. transfer to the gateway page at the moment of choosing a payment - will not work
2. payment directly on the side of the site - I have not seen this in the Russian Federation yet. But in theory, if you find it, you can try to play with the mechanics.
3. generating a payment button on the transit page after selection. This is where it could work in theory. Need to try.
In general, both solutions are not simple. Programmers are needed above the average level. The option with a coupon for the next purchase looks more adequate.

A
asnever, 2020-06-01
@asnever

If through the code, then you can:
- add a coupon in the admin panel with the desired percentage or discount amount;
- on the checkout page, add a js script that, upon changing the payment method to meet the condition, will send a request to add a coupon (not wc-ajax=apply_coupon, but via wp_ajax so that the coupon code is not on the front), and then to update the checkout ( $('body').trigger('update_checkout') )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question