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

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 ...
13
votes
1answer
2k views

Magento2: What's the best way to add custom payment method field?

I've set up a new payment method in Magento 2 with a custom payment method field (like "po_number" from magento/offline-payment-methods). And front end is working perfectly fine (field showing up, ...
11
votes
2answers
2k views

Magento create order programmatically with paypal payment method

Currently we have two magento independent websites. One is behaving as storefront and other as back end. User can place the order at front end. So same order I am trying to create programmatically ...
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
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 ...
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 . ...
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.
9
votes
3answers
862 views

Magento 2 : How to Merge Payment and Shipping Method steps in Checkout

Give me useful suggestion, How to merge payment and shipping method steps in checkout.
8
votes
1answer
525 views

Error message “Please enter valid date”

I am getting an error message when I use any date field for products or coupons. It tells me to enter a valid date. The dates are valid and there is no range that satisfies the system. Some payment ...
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 "...
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.' . ...
7
votes
1answer
971 views

Include the cc payment template in other template

I'm working on a credit card (CC) payment module. I see that Magento 2 already offers a template for CC payments but it contains only the form needed for the payment. It does not have the radio button ...
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
827 views

Payment section on checkout progress block is updating wrong details

Payment section on checkout progress block is updating wrong details.When you select saved cc method as payment method and click on continue after filling up all the required fields. the progress ...
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
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
7
votes
3answers
2k views

Paypal orders being cancelled randomly

I have noticed Paypal orders on my site at random get cancelled even though the customer paid and completed the transaction. Payment information gets populated and I can see the ipn registered message ...
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) ...
6
votes
2answers
516 views

Disable COD if subtotal is greater then xxxx amount

How can I disable the Cash on delivery option on checkout page, if the order subtotal is greater then a specific amount ? Thanks !
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 ...
6
votes
1answer
2k views

Making a purchase without Shipping or Payment. Follow up Invoice with actual shipping costs

We have a client that we've set up a store for B2B sales to their wholesale customers. Since they have a specific customer list that they allow to make purchases on their site, they would like to ...
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 ...
6
votes
1answer
1k views

What is the preferred base class for Payment method

I will write a payment module and read some tutorials. All tutorials are using \Magento\Payment\Model\Method\Cc or \Magento\Payment\Model\Method\AbstractMethod to extend from, but both are deprecated. ...
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
2k views

Braintree - 400 Bad Request Message on checkout

I'm setting up Braintree payment In Magento 2 environment through integrated extension provided by Magento. I have compiled the backend form with my merchant data and i selected sandox option to test ...
6
votes
4answers
3k 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 ...
5
votes
4answers
13k views

The requested Payment Method is not available.On order details page

I recently migrated to a new server and upgraded to the latest Magento. However, the order details page on the backend is now broken for any order that used our old 'PayPoint' extension (which we no ...
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
5
votes
3answers
274 views

PxFusion DPS Payment Express

I am looking for Px Fusion extensions for my online store. any suggestions ?
5
votes
2answers
3k views

How to post data to a payment provider when placing an order in Magento 2

The issue I'm trying to integrate an online credit card payment service in Magento 2.2, but it's tough to understand all the docs on this topic at first, so I'm looking for some guidance. What I ...
5
votes
2answers
280 views

Magento 2: Disable and enable payment method programmatically

I want to place order programmatically. I do not have COD enable when I placed the order programmatically so can it be possible that I can enable the COD before order place and disable COD after Order ...
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 ...
5
votes
1answer
535 views

Disallow payment methods for specific SKUs

When user add those SKUs [items] to cart then I want to allow only some particular payment methods.
5
votes
1answer
2k views

Use saved credit card information for authorize.net

In magento when we place order by using payment method authorize.net. The credit card information entered saved into the database. Next time when same customer wants place order then saved credit ...
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 ...
5
votes
1answer
198 views

CoinGate Bitcoin Payment Method Working

I would like to know what happens when we click on "pay with bitcoin" button. I have no idea how am i supposed to make my payment. I have been going through coingate's documentation but i couldn't ...
5
votes
2answers
2k views

Custom Payment Method form block - can't display on checkout page - Call to a member function setMethod() Error

I get fatal error while setting up custom payment method block for checkout page `Fatal error: Call to a member function setMethod() on a non-object in app/code/core/Mage/Payment/Helper/Data.php on ...
5
votes
1answer
1k views

Which built-in payment methods in Magento (or extensions) offer an iframe option? [duplicate]

We want to create a new payment method in Magento which uses an iframe to display our payment gateway's credit card form (we are not PCI-compliant). We've found this so far to be very challenging. We ...
5
votes
1answer
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 ...
5
votes
1answer
122 views

How to modify Bank Transfer Payment OR Cash On Delivery Payment methods? Looking to rename one of those and add extra fields

Magento 1.9.4 Porto theme We urgently need to modify either the 'Bank Transfer Payment' payment method or the 'Cash On Delivery' payment method. What we are after is: label the existing form text ...
5
votes
1answer
2k views

Magento 2 paypal Instant Payment Notification (IPN) URL

Can anyone tell me what is the Correct Paypal Instant Payment Notification (IPN) url for Magento 2.x. I have used BASE_URL/index.php/paypal/ipn/index/ and YOUR_BASE_URL/paypal/ipn/ Both URLs ...
5
votes
1answer
297 views

Magento 2 : Manually send current currency to a payment method in a multi currency store

I have to manually send price of the products in cart, tax, total etc. in current currency to a payment method as by default magento sends it in base currency of the store. Can anyone point me in ...
5
votes
1answer
3k views

Magento 2 : problem in the Checkout page : window.checkoutConfig is undefined

I am using Magento 2.0.2 and I have a problem with the Checkout page. Sometimes there is a JS error appears in the file /Magento_Checkout/js/model/quote.min.js: TypeError: window.checkoutConfig is ...
5
votes
0answers
692 views

Magento 2 offline payment method new order status

I've created a new offline payment module using this generator http://cedcommerce.com/magento-2-module-creator/payment-module config.xml .... <order_status>pending_payment</order_status&...
5
votes
3answers
4k views

Magento 2 custom payment method not showing in front end

I have tried to create new payment method in magento2, when i tried to configure it is coming in the backend, but not in the front end. If anyone fixed this issue please let me know the fixes, i am ...
4
votes
4answers
9k views

Magento 2: Get quantity item from the order

I'm trying to build a custom payment module for magento 2 and i have a function in my payment module that is called on the success page. The problem is that i can't get the items quantity. I can get ...
4
votes
6answers
14k views

Magento Fatal error: Call to a member function getMethodInstance() on a non-object in app/code/core/Mage/Payment/Model/Observer.php on line 46

I’m trying onepage checkout. When I'm exiting 2co payment page by clicking on Place order button I'm navigating back to my site and the URL looks like this. https://www.example.com/index.php/checkout/...
4
votes
2answers
4k views

Magento 2 - List of payment methods

How can I get the list of payment methods that can use in the following? $quote->setPaymentMethod('checkmo'); I copied it from a sample online and I guess it is Check / Money Order.
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. ...
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 ...