Questions tagged [payment-methods]

Denotes questions about payment methods

Filter by
Sorted by
Tagged with
10 votes
1 answer
6k views

Magento 2 - enable cash on delivery only for specific shipment method

How to, for example, enable cash on delivery payment only when customer selected flat rate shipping method? I cannot find a way doing this in shipment/payment configuration or in cart rules.
user avatar
  • 471
7 votes
5 answers
14k views

displaying certain payment methods for customer groups

I am very new to the magento checkout process so forgive my lack of knowledge. Is there a way of displaying certain payment options for certain customer groups. For example i have changed the "...
user avatar
  • 2,185
3 votes
3 answers
710 views

Magento 1.9 Observer - How to disable Payment method in Observer?

I want to assign specific payment method only for selected one customer group, successfully get customer group & Payment method code, How to add condition, following are my workout, Following ...
user avatar
  • 95
5 votes
3 answers
10k views

Magento 2: How to show/hide payment method on basis of amount

I'm using Magento 2 CE Version 2.1.0. I have 2 payment method Paypal Express Checkout & Bank Transfer. When the amount is greater than X then Paypal should not be displayed only Bank Transfer. ...
user avatar
  • 9,473
6 votes
2 answers
11k views

How to show default payment method as checked at checkout page in Magento 2

When customer go to checkout page default payment method should be shown checked which is Paypal. What is the possible way to do this. Please help guys
user avatar
14 votes
4 answers
12k views

Magento 2 : Event Observer For Payment Method Selection

I am working on a custom extension where I need to call an observer when any payment method is select from the available payment method list on the frontend checkout page. Can anyone tell me which ...
user avatar
5 votes
3 answers
6k views

Magento 2 - How do I programmatically remove payment method?

I've followed the guide on the selected answer here: Payment method only admin Magento 2? But still no luck. What I want is to be able to show the Cash On Delivery method only to certain customers. ...
user avatar
  • 53
2 votes
1 answer
2k views

Magento2 : Custom payment Module with Drop down list Is not working

Please check my Custom payment Module, I was able to display the list in drop down in Payment method, But when i select and place order it is not working as expected. Please download the complete ...
user avatar
9 votes
3 answers
8k views

How to disable Cash On Delivery on specific product type

Basically I need to disable cash on delivery on specific product type. Basically i m using store credit of mage store. This is for wallet in magento. on payment option its showing cash on delivery . ...
user avatar
  • 1,125
5 votes
1 answer
2k views

magento 2 payment methods hide by code [duplicate]

How to hide PayPal Express Checkout in code at the following location: vendor/magento/module-checkout/view/frontend/templates/onepage.phtml <!-- ko template: getTemplate() --><!-- /ko --&...
user avatar
  • 1,700
0 votes
0 answers
226 views

Magento offline custom Payment method with drop down list

I started working on magento2 since 2 months, i have payment method which was working before and suddenly it stopped. i could not able to figure out the problem. Please find the zip file. https://...
user avatar
13 votes
4 answers
25k views

Which observer to use after success order on Magento 2?

I am working on this Magento 2 extension and part of the features is to push information about the orders to an external application using web services. I need to push this information after an order ...
user avatar
  • 681
4 votes
1 answer
5k views

Magento 2 Payment method : Add custom Select field that I can use in checkout process

I am working on a Payment Gateway integration in Magento 2. The payment method is working fine and its listed on checkout page. I need to add a Custom Select Field on the Checkout process. MODULE/...
user avatar
3 votes
1 answer
5k views

Add New Field in Payment Method

I am using stripe payment method, I want to add billing zip filed in cc form. How can I add this field??
user avatar
  • 203
2 votes
2 answers
8k views

Custom Payment Method not showing in Checkout page in Magento 2

I am created Custom Payment Method, but it is not showing on the checkout page. For this, I am written below code. etc/adminhtml/system.xml <?xml version="1.0"?> <config xmlns:xsi="http://...
user avatar
  • 3,896
2 votes
1 answer
6k views

Magento 2: How to refresh payment method on some condition

Like I have applied a checkbox on payment page for using it as credit score inspite of money. There is problem when my credit is 100 % used i.e. by using credit score grand total becomes 0. In that ...
user avatar
0 votes
1 answer
2k views

Magento 2 get config values in view/frontend/web/template/payment .html file

I want to get system config value in frontend template. Path like "view/frontend/web/template/payment/payment.html" How it's? Please help me. Thanks
user avatar
  • 13
9 votes
1 answer
8k views

Payment gateway with redirects in magento2

How would I implement this exact logic in M2 with the new gateway API? https://github.com/ergopalpatel/Magento_Payment_Gateway_Skeleton Steps Customer selects a custom payment method When 'Place ...
user avatar
  • 93
18 votes
1 answer
11k views

Magento 2 - PayPal Express Checkout > Difference between Payment Action

What is the difference between the following payment actions? Authorization Sale Order
user avatar
  • 4,169
8 votes
2 answers
24k views

get payment method title of an order

I want to show payment method of an order in My Orders customer page. I have tried use echo $_order->getPaymentMethod(), it gives NULL variable. I also tried echo $block->getpaymentsCollection(...
user avatar
7 votes
2 answers
9k views

Magento 2 REST API checkout payment gateway redirect

I am creating a Magento 2 store that sells virtual products, this site have its checkout directly at the product page. The customers will never buy more than 1 product at a time. This checkout uses ...
user avatar
  • 654
5 votes
1 answer
5k views

Payment method only admin Magento 2?

When working with Magento 2, sometimes we want to disable Payment methods on the Front page and use it only for Admin. Or, if we want to set more rules for Payment methods to check whether payment ...
user avatar
5 votes
3 answers
9k views

Magento2: How to add a payment method to admin create order?

I have an invoice payment method. The customer's call center should be able to create orders from backend and add this specific payment method to the order. The payment method is a gateway, which then ...
user avatar
4 votes
2 answers
2k views

How to purge (delete) credit card numbers stored on Magento 1.9.1.0?

We used the 'Saved CC' payment method in our Magento 1.9.1.0 store and now we would like to delete the credit card numbers for security reasons. What is the easiest procedure to delete all credit card ...
user avatar
  • 306
3 votes
1 answer
3k views

Magento 2 : How to Add Image to Payment Method in Checkout

I want add images to payment method list on checkout like : I want add image before these payment methods Płatność przelewem bankowym Płatność przy odbiorze Can anyone help me how I can do it?
user avatar
  • 2,076
3 votes
1 answer
22k views

How to re-collect quote totals in Magento 2?

I'm developing a payment module called Payment fee, when choosing this payment, customer will pay a fee (Surcharge fee)? I think we need to use Ajax to re-calculate. I know how to build a offline ...
user avatar
0 votes
0 answers
98 views

Magento 1.9 Observer - How do visible selected payment gateway only for specific customer group?

Following code return customer group, how to add condition if customer group "Tester" then only show selected payment gateway? app\etc\modules\Gta_FindPaymentGateway.xml <?xml version="1.0"?> &...
user avatar
  • 95
9 votes
2 answers
1k views

Magento2 : Apple Pay Integration With Payfort Payment

I have to integrate the apple pay payment method to my website so anyone have any reference URL or Extension. so I can use that link. I follow below link https://applepaydemo.apple.com/ https://...
user avatar
  • 1,873
8 votes
2 answers
15k views

In which table payment method information of order save

I am checking with admin panel order and suddenly when i view particular order. I get error Uncaught exception 'Mage_Core_Exception' with message 'The requested Payment Method is not available.' . ...
user avatar
  • 783
5 votes
2 answers
16k views

/rest/default/V1/carts/mine/payment-information

Can anyone explain what does /rest/default/V1/carts/mine/payment-information it mean? I want to hide Cash payment option. By using jquery I am able to hide cash payment option but when page get ...
user avatar
  • 1,324
4 votes
3 answers
6k views

How to change checkout page field label in 2.1.7?

I want to change State/Province label. How can I do it?
user avatar
  • 41
4 votes
1 answer
3k views

Multiple Checkout Payment Gateway Redirection Issue

I am using the payment gateway InnovatePayments which is working fine for single checkout & redirected me to Payment Gateway page after clicking place order button where i entered credit card info ...
user avatar
3 votes
2 answers
1k views

Magento 2: Disable "Cash on delivery" for downloadable products

I need to disable the CoD payment method for carts with downloadable products. I started working on a plugin, but got hung up on this - have no idea how to get product types from cart. Any ideas?
user avatar
3 votes
3 answers
4k views

How to use paypal for other currency in Magento2

I have magento2 with base currency NPR I want to use Paypal as another payment option. where as papal doesn't support NPR i want to pay it in droller. for that I have added "NPR" in $...
user avatar
2 votes
2 answers
9k views

The requested Payment Method is not available

When creating an order at the backend, we get The requested Payment Method is not available!". Our exception is thrown at /app/code/core/Mage/Payment/Model/Info.php in function getMethodInstance. The ...
user avatar
1 vote
4 answers
3k views

How to restrict payment methods by store?

I want to restrict the payment method by store.How to do this? Eg. For English version I need 3 payment modules 1.Paypal 2. cod 3.Bank transfer For Other version I need 1 payment method 1....
user avatar
1 vote
2 answers
3k views

Magento 2 : How to disable/enable payment method based on customer?

I created custom payment method (off-line). http://webhintsexplorer.com/custom-payment-method-magento-2/ And i created customer attribute(On Account Payment Method Applicable) with yes/no. this ...
user avatar
  • 207
1 vote
1 answer
4k views

How to add additional field to checkout payment (Magento 2)

I have a payment module for Magento 2 and I would need to add a new field to checkout fiels. To my understanding I can add the field to checkout_index_index.xml layout file, but I just can't get it ...
user avatar
5 votes
4 answers
8k views

Is it possible to create an iframe-based payment method in Magento?

To give a context for my question, we are actually migrating to Magento from Interspire Shopping Cart. In Interspire, the payment form would be displayed after everything else, especially the Order ...
user avatar
  • 347
4 votes
1 answer
2k views

Add last 4 digits and type of card to Payment Information in admin view order

After customer create order with Authorize.net, the info in Payment Information in admin view order says "Credit Card Direct Post (Authorize.net) The order was placed using USD.". How can I add type ...
user avatar
  • 1,605
1 vote
2 answers
6k views

Magento 2 - Custom payment module

I'm trying to build a custom Payment module, but it's very hard to get things to work because there's no real documentation yet. There are a few example extensions, but these are all outdated. What I ...
user avatar
  • 1,267
10 votes
2 answers
824 views

All payment methods are not coming in Cart Price Rule

In Magento 2.3.1 I'm creating Cart Price Rule for Payment Methods. I have to create for Bank Transfer but there is Bank Transfer option not coming. https://www.screencast.com/t/h4rc4PnQU
user avatar
  • 1,444
7 votes
2 answers
8k views

OnePage Checkout - Hide Payment method depending on Shipping Method

I'm using CE 1.9.0.1 and have correctly created and registered my module, but I can't seem to detect the shipping methods. Basically, I want to hide Cash on Delivery if Flat Rate or Free Shipping is ...
user avatar
  • 619
7 votes
3 answers
2k views

Removed payment method, old orders not loading

Synopsis: I've deleted an ancient payment method extension from my magento install, and now orders made using this payment method cannot be viewed and result in an exception. Specifically, our store ...
user avatar
6 votes
2 answers
4k views

Magento 2.1 Payment Method

Considering a custom Payment Method class extending \Magento\Payment\Model\Method\AbstractMethod: Would somebody kindly explain what do the methods below do? initialize($paymentAction, $stateObject) ...
user avatar
0 votes
1 answer
471 views

How can I apply Payment Charge as %, For CCAVENUE MCPG to Customer [closed]

I have installed ccavenue mcpg for payment gateway, how can i apply payment charge for every transaction.
user avatar
  • 679
6 votes
2 answers
3k views

Magento 2.2.1 - how to give discount on payment methods?

I go to Magento 2.2.1 Admin > Marketing > Promotions > Cart Price Rules and create a new Rule: Conditions. Option "Payment Method" is not showing up in Conditions Tab. I want to give some ...
user avatar
  • 423
5 votes
1 answer
3k views

Payment method - Zero Subtotal Checkout - hide all others

At the moment I have Paypal and Zero Subtotal Checkout payment methods enabled. If the basket is €0 then Zero Subtotal Checkout will display however Paypal is displayed underneath it. Whats the best ...
user avatar
  • 2,429
5 votes
5 answers
5k views

Magento 2: Hide payment methods depends on shipping method

I have created custom shipping method "Pick up at the store" and payment method "Pay in store" and I would like to hide all other payment methods, when I choose "Pick up at the store" shipping method. ...
user avatar
  • 175
4 votes
3 answers
6k views

Magento 2 REST API PayPal Payment method

I am using REST API to create orders. I would like to know which is the right API call and payload if paypal express checkout is the payment method to process payment and generate invoice.
user avatar
  • 1,935