Questions tagged [payment-methods]
Denotes questions about payment methods
1,139
questions
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
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 ...
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 ...
13
votes
1
answer
3k
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
2
answers
4k
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
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
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.
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(...
9
votes
3
answers
10k
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 ...
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 . ...
9
votes
2
answers
3k
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.
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 ...
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://...
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.' .
...
8
votes
1
answer
4k
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
8
votes
1
answer
3k
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
4
answers
15k
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 ...
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 "...
7
votes
1
answer
2k
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
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 ...
7
votes
2
answers
910
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
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 ...
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 ...
7
votes
3
answers
3k
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 ...
7
votes
1
answer
7k
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 ...
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
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)
...
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 ...
6
votes
2
answers
658
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
2
answers
961
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 ...
6
votes
2
answers
7k
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 ...
6
votes
3
answers
2k
views
How can we make purchase order optional in magento 2.1?
Is there a way to make the purchase order number in the checkout page optional?
without filling purchase order number text field, I want to place an order.
6
votes
2
answers
12k
views
Add additional information to payment method
I'm trying to add additional data to the checkmo payment method. I then need this additional data appear at the order Endpoint.
I plan on using this as a way of passing over a sort code / account ...
6
votes
1
answer
3k
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
1
answer
2k
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
1
answer
3k
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
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 ...
6
votes
2
answers
2k
views
Magento 2, How to get Payment infoInterface from order?
I am working on a custom payment method.
I am stuck in between where one of my methods required Payment object of \Magento\Payment\Model\InfoInterface
But I am getting Magento\Sales\Model\Order\...
6
votes
3
answers
7k
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 ...
5
votes
6
answers
21k
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 ...
5
votes
2
answers
8k
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.
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. ...
5
votes
3
answers
358
views
PxFusion DPS Payment Express
I am looking for Px Fusion extensions for my online store. any suggestions ?
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 ...
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.
...
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 ...
5
votes
2
answers
3k
views
Partial refund option missing (Qty to Refund)
In Magento, you have the option to do a partial refund, meaning only refund some of the products / qty from the original order. This option seems to be missing in my store. Normally it is possible ...
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.
...
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 ...
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',
'...