Questions tagged [payment-methods]
Denotes questions about payment methods
529
questions with no upvoted or accepted answers
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 ...
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
2
answers
1k
views
PayPal All-In-One Payment Solution - Clone to multiple options in checkout process
TLDR; Clone "PayPal All-In-One Payment Solution" payment method to have THREE different payment options in “Payment Method” section of the checkout process.
Magento 2 comes with "PayPal All-In-One ...
5
votes
1
answer
1k
views
Magento2 credit card form is not populating with cvv and date filed
Am Trying To Create A New Online Payment Gateway Module In Magento.
To Get Started Am Using Sample Payment Module Form Git Hub,
My Stripe.html
<div class="payment-method" data-bind="css: {'...
5
votes
1
answer
1k
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&...
4
votes
0
answers
181
views
Execute code after all payment methods are rendered on checkout
I need to execute a code once all the payment methods are loaded (rendered) on the checkout (using the onepage solution).
I can't find the way to achieve that.
My final goal is to create a custom "...
4
votes
1
answer
2k
views
Error in default API testing | V1/carts/mine/shipping-information
I just wanted to test this API for understanding order flow
{ "addressInformation": {
"shipping_address": {
"region": "New York",
"...
4
votes
1
answer
2k
views
How to disable PayPal express payment method on one of the store
I got 2 variations of the store - EU and USA. I need to disable the PayPal Express method on the EU store, how can I do that?
There no option to disable Payment on EU store:
But avaliable on default ...
4
votes
2
answers
496
views
Magento2 API to access internal payment method
I am working on creating a way to make an order via the magento api and wondering if it is possible to access internal payment methods (payment methods that are only enabled for the admin panel) via ...
4
votes
0
answers
248
views
IE 11 Magento 2.1.15 Braintree - Place Order Button is not working
In Internet Explorer 11, when Braintree Payment Method is chosen Place Order button is not working. The Magento version is 2.1.15. I am using One Step Checkout. Place Order is not working fine in ...
4
votes
2
answers
3k
views
Get Saved Credit/Debit Card Details in Magento2
How can I get already saved credit/debit card details to use in my custom module from checkout page before place order.
4
votes
0
answers
130
views
My PayPal payment method does not display on Checkout with Multiple Addresses
My PayPal payment method is shown on the checkout page, but it's not displayed at Checkout with Multiple Addresses.
4
votes
2
answers
8k
views
Transaction has been declined. Please try again later. - Error when invoicing
We're using Braintree to process payments (MCE 2.1.7) and are running into issues where on the braintree/paypal side of things, everything gets processed and goes through fine, and we've been able to ...
4
votes
1
answer
2k
views
magento 2 view model set payment additional data before place order
I am adding a token in payment additional data
getData: function () {
return {
'method': "pay_cc",
'additional_data': {
'token_code': ...
4
votes
2
answers
2k
views
Override method in LayoutProcessor
I want to make changes(PHP code) to the method processPaymentConfiguration, but I don't know how I can override the method so my changes have a higher priority. I can alter the LayoutProcessor file ...
4
votes
3
answers
2k
views
Magento 2 : Payment Method Title not showing in Order view in admin
I made a custom online payment method. All things are going proper, but in order view page in Admin I am Not getting Payment Method Title. We already set the configuration for title and its same like ...
4
votes
2
answers
3k
views
How to send post data with redirect from magento 2 for a payment gateway?
we use magento2/app/code/Paymentgateway/Example/Controller/Standard/Redirect.php
public function execute()
{
$order = $this->getOrder();
if ($order->getBillingAddress())
{
$...
4
votes
0
answers
2k
views
Magento 2 : Payment method transaction declined error in frontend but in adminpanel its works
Magento 2 with eway payment module. I have create sandbox account in eway payment site and set configuration for it.
When place order using admin panel transaction done successfully but from front ...
3
votes
0
answers
291
views
Magento-2-Paypal orders not showing in magento end?
In Magento-2 when we place order through paypal payment method then payment successful at paypal end and all data related to transaction display perfect but when we look in magento admin the order ...
3
votes
0
answers
45
views
How to get paypal partner name and vandor name for credit card from paypal pro setup in magneto 2
I am trying set up paypal pro in magneto 2 with sand box credentials.Here for paypal pro it need partner ,user,vendor,password.Can any please tell me that from paypal account, from where can i get ...
3
votes
2
answers
722
views
Credit Card Charged Twice After Place Order in Magento 2.2.9
We are using the CardConnect Payment Gateway for our site. Before a few days ago we face a credit card charged two times for some orders and Magento Shows only 1 order and 1 Invoice and 1 transaction. ...
3
votes
1
answer
2k
views
Magento 2.2.6 Exception message: A wrong PayPal Express Checkout Token is specified
I am getting this issue for a few customers in the production site. while trying place order in one step checkout with PayPal express checkout, it's redirecting to the cart page with the exception
...
3
votes
0
answers
759
views
How to apply order status by payment method in Magento 2?
I have a custom Offline Payment Method, with a option to apply the new order Status.
Its similar to Zero Subtotal Checkout.
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See ...
3
votes
1
answer
1k
views
magento 2 : Place order using REST API and stripe payment method
We are working on mobile which use magento 2 REST API. In which we are facing issue while try to place order using Stripe payment method. For stripe we are using magenest stripe extension.
REST API ...
3
votes
0
answers
18
views
Magento2.1 payment method and shipping method on my orders of buyer panel
I want to show shipping method and payment method of my orders in my orders on customer panel. i'm using magento 2.1
3
votes
1
answer
118
views
Adding Message under Payment Method (like paypal redirect message)
I need to add message under Redsys Payment Method (like paypal redirect message) when you click it.
Example:
Where i can add this?
3
votes
0
answers
300
views
Disable payment option in checkout when specific shipment is used via js only
I've disabled alost all payment modules when in store pickup i set as shippemnt.
I'm using for this plugin for Magento\Payment\Model\Method\AbstractMethod and is working fine.
Only one module payu/...
3
votes
1
answer
505
views
Authorize.net payment method configuration not saving
I am trying to configure authorize.net payment settings in an magento 2 install. When I edit the payment method values, the default values are reset after I save (i.e. I enable Authorize.net, save and ...
3
votes
0
answers
781
views
Errors and bugs in Ebizmarts SagePay Suite: Can not save order. Please try another payment option
I am experiencing a few of these errors in my logs most days. Ebizmarts aren't any help in supporting the issue however is a difficult one to debug has happens very occasionally and I'm finding it ...
3
votes
0
answers
1k
views
Magento 2 : Data binding in Payment Method Selection
I want to display a custom field in "cash on delivery" payment method. I have created a custom module for this. But the field displays in all payment methods. Here is my code
html
<div class="...
3
votes
0
answers
424
views
How can I change grand total when user Clicks on Custom Payment method?
I am using the one-page checkout module. I want to change the grand total when user/customer selects the payment method.
If customer/user selects the online payment option then grand total should ...
3
votes
1
answer
1k
views
Payment method with custom form in Knockout js
I've created a custom payment method successfully in Magento2. When this custom payment method selected, I need a form to display a text field and submit button that will hit some AJAX Api's using in ...
3
votes
0
answers
349
views
How to take payment on edited PayPal order
Is it possible to re-authorise/re-take payment on the new order that is created when you 'Edit' an existing order?
I'm running Magento 1.8.1.0 for a client's website that is currently in development. ...
3
votes
0
answers
616
views
How to change order state after paypal payment?
Using standard paypal payments, after a paypal payment is made, orders are set to "processing" (Mage_Sales_Model_Order::STATE_PROCESSING). I need to set a different state/status, as follows:
$order-&...
3
votes
2
answers
712
views
Disable 3D Secure programmatically
I have a module that creates orders and it can use different types of payment methods, like authorize.net, PayPal or SagePay. But if 3D Secure is active, the order cannot be created. And I cannot ...
2
votes
0
answers
52
views
Magento 2 Braintree Payment Gateway Issue - Error Message Not Displayed on Failed Transactions
We're running Magento version 2.4.5-p1 and utilizing the Braintree payment gateway for both credit card and Paypal transactions.
Our concern is that when a customer attempts to place an order and the ...
2
votes
1
answer
134
views
Magento 2.4.3 Upgrade from 2.3.0 showing iframe for Online payment
I have upgraded Magento 2.3.0 to Magento 2.4.3, everything is working perfectly but when selecting CCAvenue online payment on payment page, one iFrame is showing below to enter credit card information ...
2
votes
0
answers
904
views
Magento 2 unable to download Braintree Payments using composer
Using Magento 2.3.5-p1
We are trying to download Braintree Payments - https://marketplace.magento.com/paypal-module-braintree.html
Using these commands - composer require paypal/module-braintree
...
2
votes
0
answers
181
views
Stored payment methods not showing error message? Magento 2
Stored Braintree credit card error message area not getting any message after failed order placement.
I found that The error message does show but in Braintree Credit card method, not in Stored credit ...
2
votes
0
answers
274
views
Magento 2 : Klarna Pay later method not appearing
I am using magento 2.4 EE version
Klarna has below payment solution :
Pay later
Pay in X days (currently this one is only appearing)
I have configured klarna payment method
by following these doc ...
2
votes
0
answers
188
views
What is the function of Magento\Payment\Gateway\Command\CommandPool and how to use it properly?
I installed a custom extension for my Magento 2.3 payment gateway, then i want to process the order payment in another extension, then i come across this code within the extension:
<virtualType ...
2
votes
0
answers
89
views
Add two simultaneous payment methods
I need to be able to select more than one payment method at the same time and that the order screen appears with the two or more selected methods.
Example image below.
2
votes
0
answers
485
views
How to add upload image in custom payment gateway ( Magento 2.3.5)
I'm very new to Magento. This is what is tried to achieve, an image uploader in custom checkout.
But the problem is that I have no idea how to upload the image. The code below is what I had tried.
I ...
2
votes
0
answers
158
views
How to remove payment method step in checkout process in Magento 2.3.2
I have magento Open Source 2.3.2 setup my client don't want any payment method now. How to remove payment method step in checkout process. I just want to place order without selection payment method.
...
2
votes
0
answers
186
views
How to Add an icon next to Payment Method for Amazon Pay?
I have looked up a few similar question but can't figure how.
It's the default amazon pay module that came with Magento 2
I'm editing this file
/var/www/html/vendor/amzn/amazon-pay-module/view/...
2
votes
0
answers
315
views
Magento 2 : "My billing and shipping address are the same" checkbox remain unchecked
I have created a custom extension for product based cash on delivery.
I have followed the below link for creating the extension.
Disable payment method programmatically in Magento2
Everything works ...
2
votes
1
answer
947
views
How to get Order Id after place order in javascript?
I am defining placeOrder method in my payment method, here is my code:
placeOrder: function (data, event) {
var self = this;
if (event) {
event.preventDefault();
}
if (this....
2
votes
0
answers
13
views
Why did the Payment section stopped working after switching primary domain? And - does Form Key Validation On Checkout need to be enabled?
Porto theme
I switched the primary domain in our Magento 1.9.4 store and then the Payment section of the checkout stopped working altogether - you could select a Payment method by placing a tick in ...
2
votes
0
answers
58
views
Show COD Payment Method as Disable in Checkout if product with Some attribute in the cart
I have to display COD payment method but as disabled in payment step if a product with Some attribute in the cart.
Please help me.