Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [payment-methods]

Denotes questions about payment methods

9
votes
1answer
3k 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
5k 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
6k 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
334 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 ...
0
votes
0answers
139 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://...
3
votes
1answer
2k 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/...
9
votes
3answers
6k 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 . ...
2
votes
1answer
2k 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
3k 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://...
2
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 ...
6
votes
2answers
4k 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 ...
6
votes
1answer
4k 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 ...
10
votes
3answers
9k 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 ...
10
votes
1answer
6k views

Magento 2 - PayPal Express Checkout > Difference between Payment Action

What is the difference between the following payment actions? Authorization Sale Order
3
votes
1answer
10k 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(...
2
votes
1answer
327 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
11k 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
3k 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
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 ...
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 --&...
3
votes
1answer
7k 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
639 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
69 views

Custom payment integrate in custom payment module

How to integrate payment integration method in the sample custom payment module. I have two files. Html and javascript. I want to add these files in a sample payment custom module or I just want to ...
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 ...
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 ...
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 ...
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
4k 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
381 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.
7
votes
1answer
814 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
6
votes
1answer
1k 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
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
1k 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 ...
4
votes
3answers
1k 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.
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
744 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.
2
votes
1answer
961 views

Magento 2: add html in custom Payment method

I created a new payment method in Magento 2 using the instructions here The payment method is created successfully. However, I want to add instructions under the payment method in the red box in ...
2
votes
2answers
2k views

Magento 2 - How to get current payment method which was selected

In Magento2, how to get current payment method which was selected on the overview checkout? Thanks!
1
vote
1answer
842 views

How to disable purchase order for guest checkout?

In magento 1.9.2.4 you can disable checkout for guests completely. However, what I would like is if customer chooses to checkout as a guest then they can only checkout via paypal standard. But, if ...
1
vote
1answer
3k views

Credit Card (saved) payment method

I have recently have read that the Credit Card (saved) payment method is not meant to be used on a live site. What are the reasons for this? I understand this method stores the credit card number ...
0
votes
1answer
4k views

Raising invoice for manual / telephone orders where payment taken outside of Magento

Whether this defies the logic of Magento's order processing, I haven't entirely worked out... A client takes a number of telephone orders and takes their payment via a 3rd party portal or via a ...
0
votes
2answers
775 views

Add more simple payment methods?

We need to add quite a lot of payment methods that are really simple and require nothing beyond what the built-in "Bank Transfer Payment" method already offers, for example: Bank Transfer Prepayment ...