We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [payment-methods]

Denotes questions about payment methods

Filter by
Sorted by
Tagged with
9
votes
1answer
4k 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.
7
votes
4answers
13k 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 "...
3
votes
3answers
6k 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. ...
13
votes
3answers
7k 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 ...
4
votes
2answers
3k 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. ...
2
votes
1answer
543 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 ...
9
votes
3answers
7k 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 . ...
0
votes
0answers
176 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://...
4
votes
1answer
3k 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/...
2
votes
1answer
3k 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 ...
1
vote
1answer
3k 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 ...
1
vote
2answers
4k 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://...
7
votes
1answer
5k 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 ...
7
votes
2answers
5k 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 ...
3
votes
1answer
3k 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 ...
12
votes
1answer
7k views

Magento 2 - PayPal Express Checkout > Difference between Payment Action

What is the difference between the following payment actions? Authorization Sale Order
4
votes
1answer
12k 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(...
11
votes
3answers
11k 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 ...
2
votes
1answer
930 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??
7
votes
2answers
12k 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.' . ...
5
votes
2answers
4k 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
4
votes
3answers
2k views

How to change checkout page field label in 2.1.7?

I want to change State/Province label. How can I do it?
4
votes
1answer
1k 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 --&...
4
votes
1answer
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 ...
3
votes
1answer
9k 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 ...
2
votes
2answers
8k 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 ...
1
vote
4answers
2k 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....
1
vote
2answers
2k 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 ...
1
vote
3answers
2k 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 $...
1
vote
2answers
741 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?
0
votes
1answer
477 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
4
votes
4answers
6k 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 ...
4
votes
1answer
1k 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 ...
1
vote
2answers
5k 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 ...
10
votes
2answers
292 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
8
votes
1answer
1k views

Need to add text field in custom payment method

ACL is my custom payment method now i want to add custom field below ACL Option in Checkout Page. PFA
7
votes
2answers
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 ...
7
votes
1answer
7k 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 ...
6
votes
2answers
3k 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) ...
5
votes
1answer
5k 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 ...
0
votes
1answer
413 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.
6
votes
2answers
2k 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 ...
5
votes
1answer
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 ...
4
votes
3answers
11k views

“Pending Payment” status for Check/Money Order payment method

Is it possible to change the default status of the order at any stage of the processing to "Pending Payment" if the payment method selected is "Check/Money Order"?
4
votes
3answers
2k 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.
4
votes
2answers
2k views

Magento 2 Payment method for certain Customer groups

Is it possible to choose payment method to certain customer groups? In Magento 1 there are some codes to add payment modules, like that any ways in Magento 2 ? without using plugins?
4
votes
2answers
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 ...
3
votes
1answer
948 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?
2
votes
1answer
2k views

Payment method codes

I need the list of payment method codes. My code <?php require_once("../app/Mage.php"); error_reporting(E_ALL | E_STRICT); ini_set('display_errors', 1); Mage::init(); echo "start<br>"; $...
2
votes
1answer
811 views

Custom Payment Method Redirect : Magento 2 [closed]

I need to make payment method redirect to outline payment gateway and depend on response, If success then continue place order. If fail then cancel payment.