0

I have installed CS extension for Amazon payment, but I want to add a surcharge when someone selects this method.

I have tried few scripts but it does not work, installed few extension but it does not seem to work either.

any idea how to apply this extra 2% only when someone selects this method? (not other methods)

1 Answer 1

0

Take a look at this tutorial, it explains how to add extra fee to your cart/order.

You can get your payment method from your adress like this :

$payment_method = $address->getQuote()->getPayment()->getMethod();
4
  • hi, no i didnt lol, didnt thought of that. will try and update you here. thanks for your time.
    – shafiq
    Commented Dec 14, 2015 at 15:13
  • hi, it does not give any option to add more in total in "action section" if i type discount by= +2% it changes to "2" but it self, so dont think it will increase the price.
    – shafiq
    Commented Dec 14, 2015 at 15:24
  • Oups sorry I thought It was native but it seems to be a customization on my side :/ I'm looking for another solution and keep you in touch Commented Dec 14, 2015 at 15:35
  • I updated my answer, tell me what you think about it Commented Dec 14, 2015 at 16:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.