We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [payment-methods]

Denotes questions about payment methods

Filter by
Sorted by
Tagged with
0
votes
2answers
16 views

change order status to success if custom payment method is selected

I've got a custom payment module. I want to update the order status to completed If the order is placed choosing the custom payment method. Thanks in advance!
0
votes
0answers
8 views

Magento 2.2.2 - Authorize.net Direct Post order place issue

The order is placed using an Authorize.net Direct Post order but did not take a credit card. Anyone face this type of issue?
0
votes
0answers
37 views

Magento 2.3.3 - Cash On Delivery payment method not showing in checkout page

I am using cash on delivery & check/make order payment method but it is not displayed in frontend. I am using slowin theme to create eCommerce website. Does anyone have any idea?
0
votes
0answers
20 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 "...
0
votes
1answer
21 views

How to override Magento\Cybersource\Gateway\Request\SilentOrder\TransactionDataBuilder class?

I want to pass the custom REFERENCE_NUMBER to CyberSource So, I tried to override the class Magento\Cybersource\Gateway\Request\SilentOrder\TransactionDataBuilder using below steps etc/di.xml <...
0
votes
0answers
15 views

Payment methods disappear after zip was entered and country was changed?

Magento 2.2.3 I am having some trouble with my payment methods in the checkout. The methods are shown when the checkout loads. Now when I enter the address details, they are still shown. When I ...
0
votes
0answers
23 views

Magento 2 , How to get customer public ip address and send that public address with order inforamtion

I am integration PayFort Payment method with my Magento 2 store and PayFort team review my store and comments from pay fort team was. Please make sure to detect the customer browsing IP address which ...
0
votes
2answers
24 views

Custom checkout page. Remove shipping method and go directly to payment

I would like to ask if there is a way to remove the shipping method in magento 2. I would like to do is after the cart page, I would go directly to payment method. If the custom does not have a ...
0
votes
1answer
33 views

Magento 2 :Custom payment - Stop sending order mail

I have a custom payment module. I want to stop sending the default Magento order confirmation email for this payment method only. Please give some solutions... What I have done so far: I have ...
0
votes
0answers
20 views

Magento 2.3 processed the payment befor the payment result?

I'm using Magento 2.3.2, the problem is: When the customer starts Checkout and reaches the payment methods and chooses my bank method, directly the system establishes an order without waiting for the ...
0
votes
1answer
241 views

Magento 2.3.3 PayPal problem while checkout

I'm making a payment by PayPal as a customer (express & Standard) in IWD OPC and I getting this error. This happened in my both sites after the 2.3.3 updated [2019-10-16 07:11:40] main.CRITICAL: ...
0
votes
0answers
23 views

Magento 2 : How to add custom zipcode field in braintree payment form and send in payment request?

I want to add a custom input field in the Braintree payment method form and send that field value to Braintree, for validate on Braintree side. How can I achieve this? I want the input field for zip ...
1
vote
0answers
24 views

Paypal Pro: Merchant Country not supported errror

Suddenly from past few days, I am receiving this error when I am trying to do checkout with my credit card. I am using Paypal Payment Pro in magento. "PayPal gateway has rejected request. The ...
0
votes
0answers
12 views

Magento B2B: How To Charge One Credit Card For All Company Users When Placing Orders

Using M2.2.9 Enterprise Cloud - I am using B2B module to allow company users to purchase in a "private store" experience. I know that I can enable credit cards using Braintree vault as a stored ...
3
votes
1answer
72 views

Magento 2: Authorize.Net: Transaction has been declined. Please try again later

I'm on Magento 2.3.2, Using Authorize.Net [sandbox] as my payment method, I'm unable to place order because I'm getting an error Transaction has been declined. Please try again later., I see my ...
1
vote
0answers
68 views

Magento 2.3.2: Authorize.Net: An error occurred during processing. Please try again

I'm trying to place order via Authorize.Net [Sandbox Account], but sadly I'm not able to, I'm getting error like: An error occurred during processing. Please try again. OR Error, message: code: "...
0
votes
1answer
30 views

Set payment code to new payment method created

I have created a payment method based on this tutorial: https://www.magestore.com/magento-2-tutorial/2361-2/ But, when I get the payment code it is set to checkmo. Anyone can help me on how to set ...
0
votes
1answer
57 views

Magento 2 - Checkout Issue - Invalid state change requested -when placing an order through Authorize.net payment method

When I am placing order by my payment gateway I am getting error "Invalid state change requested". when I debug the core code then I found that error is coming from plugin used by core classes. ...
0
votes
0answers
36 views

Magento 2.3.2 order place and status canceled showing

I integrate my website with Paytabs I have an issue on orders, if customer place order and order status showing always cancel I want to order status cancel to pending Any help would be ...
0
votes
1answer
21 views

Create order from quote with existing payment method, but do not place payment?

I am working on a webhook endpoint that will take quotes and turn them into finished orders. As part of this, I want to set the quotes payment method to a custom existing payment method, but I do not ...
0
votes
0answers
20 views

Magento2: Check the payment tab is activated

I have init js and corresponding template in checkout_index_index (after payment method). In that template, I have added on checkout after the payment methods. If I checked the checkbox, I have ...
0
votes
0answers
25 views

How can I move “AMAZON PAY” button from shipping address to Payment Methods In one step checkout magento2

I want amazon pay button inside my payment method block where all the payments shows, How can i do that is anyone have an idea ???
0
votes
1answer
21 views

Magento 2 - Custom Payment Module Order Email

I have a custom payment module and I can see the method in the frontend and in the order form in the admin. Where I don't see it is in the order email. What do I need to do to get it there?
0
votes
2answers
56 views

How to load JavaScript after Ajax has loaded?

I have a custom payment module and I am trying to show a message on the payment page using jQuery. My JS file is being called on the shipping page but not when the user clicks on the next step and ...
0
votes
0answers
45 views

magento 2 checkout page terms and condition not working

I have Added Terms And Condition On checkout page but after clicking on Place Order button getting 400 bad request. Message : Payment method : Check / Money order The order wasn't placed. First, ...
0
votes
0answers
16 views

Magento1 in admin while generating invoice total paid becomes double of grand total

I just face very strange issue in Magento 1 store, please look at it if you have faced that type of issue before. My Magento store uses Razorpay extension and when the customer places the order it ...
0
votes
1answer
100 views

Magento 2 - Using jQuery on HTML page

I have a custom offline payment module and I am trying to use jQuery to hide a div in frontend/web/template/payment.html: <script> require([ 'jquery' ], function($){ if ( $('#payroll-form'...
0
votes
0answers
23 views

Magento 2 - Show Custom Message When Custom Payment Method is not Available

I have a custom payment method that gets a customer attribute and if it doesn't match the value of that attribute the method does not show. I wanted to show a custom message when that happens. I ...
0
votes
0answers
31 views

Getting error while placing order in magento 2.3.2

When i try to place order after selecting payment method i am getting error as "An error occured on the server.Please try to place the order agian error". please help how to resolve this. Error while ...
1
vote
1answer
30 views

Magento_Paypal - Error 404 on Customer Section load

After executing composer update, we were unable to use the minibasket and customer links on our frontend. Investigating in the developer console showed a 404 for the url /customer/section/load. ...
0
votes
2answers
41 views

Magento 2 - Get Cart Total in Observer

I needed to get the cart total in my observer. Here is the code I have: use Magento\Framework\Event\Observer; use Magento\Framework\Event\ObserverInterface; use Psr\Log\LoggerInterface; class ...
0
votes
0answers
17 views

Magento2 - How to add multiple radio option in custom payment method?

I have created a custom payment method by default single option coming on checkout page which is a name of payment method but I want to give three different option in single payment method like a ...
1
vote
0answers
62 views

Magento2 Type Error occurred when creating object: Magento\InventorySourceSelection\Model\Address

I am placing an order which consists of 2 items out of which one product is Giftcard and the other one is a Simple product. I place the order with these items using the Hyperpay Payment method which ...
2
votes
0answers
28 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", "region_id": 43, "region_code": "NY", ...
1
vote
0answers
27 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 ...
0
votes
0answers
52 views

Magento 2 - Disable Custom Payment Method and Show Custom Message

In my Observer I check the customer attribute for a value. If the value matches I disable the method. This is working just fine in my observer: namespace Vendor\Module\Observer; use Magento\...
0
votes
1answer
68 views

Checkout page takes 7 or more seconds to place order

My checkout page is taking 7 or more seconds every time to place order. Can anybody let me know what could be the possible reason or how can I debug this issue? I am totally confused from where ...
2
votes
1answer
90 views

Magento 2: Display Payment Method in Custom Sales report grid

I have created the custom sales report to show required fields on the grid, Used below code to show payment method, Vendor/Module/view/adminhtml/ui_component/salesfinacereport_manage_listing.xml &...
4
votes
2answers
78 views

Magento 2.3.2: Active payment method on specific category for the products in cart

I want to show payment methods for particular category products added in cart. e.g I have paypal and COD payment methods, so when X category Item in cart then Paypal will show and other will hide,...
1
vote
1answer
53 views

Magento 2 - Disable Payment Method based on Customer Attribute

I have a custom offline payment method that I want to show based on a customer attribute value. Eventually I want to check that value against the total and if it is less than the total then disable ...
0
votes
0answers
15 views

Magento 2.2 : Different text in transaction mail depending on payment method?

I am running a Magento 2.2 store and I want to put different text in the payment info area depending in the chosen payment method. I know I can use if in the transaction mails, but how do I compare ...
0
votes
0answers
10 views

PayPal gateway has rejected request. Shipping Address City, State, and Postal Code

We are getting an error at the time of checkout. we are using Paypal express checkout. Error: PayPal gateway has rejected request. A match of the Shipping Address City, State, and Postal Code failed (...
0
votes
1answer
87 views

Unique constraint violation found when placing order in magento 2

I am getting the error of Unique constraint violation found when placing an order in the Magento 2. When I checked the log file it shows like this -> main.INFO: Reference to undeclared plugin ...
0
votes
1answer
34 views

payment methods cannot be saved in cart price rule after upgrade to Magento 2.3.2

I have a custom plugin that follows this guide: Magento 2 - discount depend on Payment Method does not work So customer will get 4% discount if they choose online payment solution instead of bank ...
0
votes
0answers
19 views

Magento 2: One step checkout payment information is taking time to load : speed optimization

I have one step checkout in magento2, when I use checkout/money order it is taking 7.86 s to load this . How can I debug this issue?
0
votes
1answer
33 views

Magento 2 Uninstall or update Authorize.net module

I wan't to know how can I uninstall Authorize.net module from Magento 2.2.7 without affecting other modules, because as far as I know it's a core module. The reason I want to do this is because ...
0
votes
1answer
16 views

Error on cancelling order (PayPal gateway has rejected request. Authorization is voided (#10600: Authorization voided))

I needed to cancel an order on my site but. when I clicked cancel I get this error message PayPal gateway has rejected request. Authorization is voided (#10600: Authorization voided) The PayPal ...
0
votes
0answers
30 views

Magento 2 how to add vault to Authorize.net?

I'm trying to add vault to Authorize.net so users can save their cards. I followed this guide: https://devdocs.magento.com/guides/v2.2/payments-integrations/vault/vault-payment-configuration.html and ...
0
votes
2answers
59 views

Hide payment method if customer has more than one processing order

I'm trying to hide a payment method if a customer has more than one processing order, so I created a module call KgPayMethod and in this module, I added this line on events.xml <event name="...
0
votes
0answers
13 views

How to show available payment method according to chosen country of shipping M2

I want to restrict visibility o payment method according to chosen country and I want to hide and show and not desactive method of payment according to weight. My problem is that when weight is less ...