Questions tagged [payment-methods]

Denotes questions about payment methods

Filter by
Sorted by
Tagged with
10 votes
1 answer
7k 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.
Tom's user avatar
  • 471
7 votes
5 answers
15k 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 "...
Adam Allen's user avatar
  • 2,205
3 votes
2 answers
914 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 ...
zus's user avatar
  • 155
6 votes
2 answers
13k 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
Ramkishan Suthar's user avatar
5 votes
3 answers
11k 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. ...
Jackson's user avatar
  • 9,849
5 votes
3 answers
7k 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. ...
MarkDev's user avatar
  • 53
14 votes
4 answers
13k 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 ...
Dhiren Vasoya's 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 . ...
Deepak Rai's user avatar
  • 1,145
5 votes
1 answer
3k 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 --&...
Raghu's user avatar
  • 1,710
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 ...
JB Pakalapati's user avatar
0 votes
0 answers
303 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://...
JB Pakalapati's user avatar
14 votes
4 answers
28k 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 ...
Eduardo's user avatar
  • 691
4 votes
1 answer
6k 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/...
JItendra Rana's user avatar
3 votes
1 answer
6k 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??
3434's user avatar
  • 203
2 votes
1 answer
7k 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 ...
Faisal Kazmi's user avatar
2 votes
2 answers
9k 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://...
Bojjaiah's user avatar
  • 4,028
1 vote
1 answer
3k 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
Dinesh's user avatar
  • 23
18 votes
1 answer
12k views

Magento 2 - PayPal Express Checkout > Difference between Payment Action

What is the difference between the following payment actions? Authorization Sale Order
TFS's user avatar
  • 4,289
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 ...
Eduard's user avatar
  • 93
9 votes
2 answers
2k 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://...
Kushal Dani's user avatar
  • 2,084
9 votes
2 answers
28k 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(...
Seventh St's user avatar
8 votes
2 answers
16k 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.' . ...
Mathew's user avatar
  • 783
7 votes
2 answers
10k 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 ...
nenne's 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 ...
Khoa TruongDinh's user avatar
5 votes
2 answers
18k 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 ...
jassi's user avatar
  • 1,344
5 votes
3 answers
10k 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 ...
Tero Lahtinen's user avatar
4 votes
1 answer
4k 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 ...
user3409089's user avatar
4 votes
3 answers
7k views

How to change checkout page field label in 2.1.7?

I want to change State/Province label. How can I do it?
bhautik's user avatar
  • 41
4 votes
1 answer
4k 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?
Sylvester's user avatar
  • 2,184
4 votes
1 answer
27k 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 ...
Khoa TruongDinh's user avatar
3 votes
1 answer
1k views

How to add texts to payment step Onepage checkout page

Which file should i edit to add text underneath all the payment methods. ( I would like to add some return/refund policy). The URL is https://www.mywebsite.com/checkout/#payment
Mage Explorer's 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 $...
Durga shankar gupta's user avatar
3 votes
2 answers
2k 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?
Mateusz Serotiuk's 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 ...
Matthias Jaekle's 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....
user3921151's user avatar
1 vote
2 answers
4k 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 ...
sivakumar's user avatar
  • 257
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 ...
Tero Lahtinen's user avatar
0 votes
0 answers
134 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"?> &...
zus's user avatar
  • 155
10 votes
2 answers
1k 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
Magecode's user avatar
  • 1,484
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 ...
Turpachull's user avatar
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 ...
maGz's user avatar
  • 619
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) ...
Pro-Magento's user avatar
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 ...
Vinay's user avatar
  • 443
6 votes
4 answers
5k views

PayPal gateway has rejected request. Payment has already been made for this InvoiceID

I tried for an hour, but I can't find the solution. I using sandbox account for paypal check out and I need express check out, credit and debit card and paypal account payment method, how can ...
SAM's user avatar
  • 61
5 votes
1 answer
167 views

SUPEE-6285 and Adminhtml Controller

I currently have an open question with a bounty on the Stack Exchange website but I feel like I get a lot more inside information in this community due the more people with experience in Magento. The ...
user avatar
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 ...
Goose84's user avatar
  • 2,559
5 votes
2 answers
5k views

custom place order redirect with ORDERID

I'm implementing a new payment method for magento2 here is my js code : define( [ 'jquery', 'Magento_Checkout/js/view/payment/default', 'Magento_Checkout/js/action/place-order', '...
Sina Miandashti's 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 ...
Obay's user avatar
  • 357
5 votes
5 answers
6k 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. ...
O.Petrov's user avatar
  • 175
4 votes
2 answers
4k views

zero subtotal cart - can I automatically select 'no payment information required'?

I'm on Magento 1.7 and use Magestore's gift-card plugin. When someone buys something with a gift card, it's possible that the cart total can be zero. When it does that, it still offers both payment ...
SamC's user avatar
  • 349