Questions tagged [payment-methods]
Denotes questions about payment methods
1,140
questions
4
votes
3
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 ...
1
vote
1
answer
2k
views
Magento2 how to get payment method using jquery or knockout
Magento 2 how to get payment method using jquery or knockout when customer click on payment method,need to get selected payment method code.
requirejs-config.js
var config = {
map: {
'*': {...
0
votes
1
answer
2k
views
Magento 2.2, How to refresh payment method when Grandtotal is Rs.0?
I need refresh PaymentMethod when GrandTotal is Rs.0?
I have added my js below.
define(
[
'jquery',
'mage/url',
'...
0
votes
3
answers
3k
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 ...
2
votes
2
answers
3k
views
magento 2 How to get dropdown selected value in knockout js on button click
I have my custom payment method on the checkout page with the dropdown list.
and I want to get that dropdown selected value in knockout js and forward it to the controller and store the dropdown value ...
1
vote
1
answer
2k
views
Magento 2: Paypal - I'm sorry - but we were not able to process your payment. Please try another payment method or contact us so we can assist you
While doing payment with Paypal Sandbox suddenly it gives below error
I'm sorry - but we were not able to process your payment. Please try
another payment method or contact us so we can assist ...
5
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 ...
1
vote
0
answers
22
views
In my magento 2.4.7 project, on the checkout page after selecting the payment method, the place order button is disabled
In my magento 2.4.7 project, on the checkout page (I use swissup firecheckout) after selecting the payment method, the place order button is disabled and I cannot place the order. Can anyone help me ...
0
votes
1
answer
2k
views
How to get payment method selected magento 2
I need to get the 'Cash On Delivery' payment method if it is selected.
I Cannot get the payment method name. The
getMethodInstance() and getTitle() are not working. See the code I used below:
<?...
0
votes
0
answers
2k
views
Payment methods not showing in checkout page magento
I have a website on Magento multi-store view. I am using three payment methods like PayPal, stripe and bank transfer.
On checkout page only PayPal showing remaining two payment methods are not ...
0
votes
1
answer
1k
views
Magento 2: Paypal Payment Authorize Now and Capture later
I have requirement that need to "Authorize" PayPal payment for now.
Capture/Process after X days.
On Magento side it's storing info info
sales_order_payment
sales_payment_transaction
I think need ...
1
vote
2
answers
2k
views
Magento 2.3.3 showing Pending Payment status after successful order complete
I have configured Website Payments Pro Hosted Solution in magento 2.3.3 for paypal and card payment methods.
When placing an order using paypal, once the order is successful, order status changing to ...
4
votes
3
answers
3k
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 ...
0
votes
0
answers
53
views
PayPal NVP CURL connection error #28: Connection timed out after 60001 milliseconds
I configured the Paypal payment method in magento 2.4.6, but when I checkout I get a timed out error, the credentials and the installation are fine. I already tried upgrading the curl version but it ...
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
...
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 ...
-1
votes
1
answer
1k
views
Add new payment method in magento admin panel
How to add new payment method like bank transfer in magento admin panel?
I want fields like:
Enabled
Title
Instructions.
under payment method settings.
0
votes
2
answers
417
views
How to disable COD payment method based on product attribute value in Magento 2
Create a product attribute in BE: Engraving Services, input type: Yes/No.
On Checkout - step Payment Method page, check if in cart attribute Engraving
Services of valid products: Yes, Then disable ...
1
vote
3
answers
4k
views
paypal gateway has rejected request . Invalid token (# 10410 invalid token)
When i try to place order using paypal payments method i got error like this
paypal gateway has rejected request . Invalid token (# 10410 invalid token).
i have double checked by backend credential. ...
0
votes
1
answer
2k
views
Magento 2: How can i reload section payment Method in checkout page?
how can i reload Payment Method section in checkout page?
I create a custom discount. when i set custom discount and apply, i need reload total section and payment section. I use this code:
var ...
0
votes
3
answers
2k
views
Blank page when trying to configure payment methods in Magento 2
I'm using Magento 2, when navigating to Stores > Configuration > Sells > Payment Methods it shows a completely blank page. I've already enabled dev mode and in other situations errors shows directly ...
0
votes
1
answer
2k
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'...
5
votes
2
answers
2k
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 ...
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 ...
0
votes
0
answers
12
views
Paypal buy button not appeared after payment method config(Display on Product Details Page) set true
Paypal buy button not appeared after payment method config(Display on Product Details Page) is set true in admin panel
0
votes
1
answer
62
views
How to add Gpay,apple pay button in every product details page and checkout page using paypal braintree?
I have the Braintree option enabled for payments, and I can see the Apple Pay and Google Pay buttons available. How do I enable these buttons on the following pages:
Product details page
Mini cart
...
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': ...
0
votes
2
answers
2k
views
Magento 1.9. - Third party payment gateway
For our Magento website, we currently have no payment methods enabled. It is generated an email in our system.
However, we would now like for customers to be able to pay with their credit cards. For ...
0
votes
0
answers
30
views
Paypal Card Payment method
I know there are some Paypal Payment methods in Magento 2 that allows the customer to pay the payment by using card on the checkout without leaving the site or redirecting to the other page or paypal ...
0
votes
1
answer
44
views
Exception #0 (Exception): Warning: Undefined array key $result['is_successful']
Undefined array key is successful' in /vendor/magento/module-payment-services-paypal/Model/Sdk Service.php on line 122 in magento 2
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
0
votes
2
answers
1k
views
Magento2 : PayPal Standard error "Express Checkout has been canceled"
I am using Magento2.2.0 and I have enabled Payments Standard(Accept credit card and PayPal payments securely) and set up paypal email , API username , API password, API Signature etc.
Now on ...
1
vote
2
answers
2k
views
Magento 2 : How add validation validator to custom input field in checkout page?
We have to add custom form in check-money order payment method.We have to add custom validations before order placement but its not working.
please check below code
1)Create the validator:-
...
0
votes
3
answers
2k
views
Magento2: How to remove Paypal Credit button from product detail page?
I have enabled the "Display on Product Details Page" to "Yes" from the admin section in the PayPal payment method, but I need only the PayPal icon, not the required PayPal Credit ...
0
votes
0
answers
33
views
Purchase order will not show as a payment option in admin order creation, only credit card displays as an option
Currently in my Magento 2.4.6 store, only the credit card payment option will show up as an option when I try and place an order for a customer in the admin. I also have Purchase Order enabled as a ...
2
votes
1
answer
3k
views
Extension attributes showing null value in in Magento 2
I have created one custom field in Magento 2 payment table through install schema and want to add getter and setter to the Magento\Quote\Api\Data\PaymentInterface to set and add data.
...
3
votes
1
answer
2k
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 ...
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 ...
6
votes
2
answers
3k
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\...
0
votes
2
answers
2k
views
Auto Invoice Check/Money Order Payment method
Our 3rd party shipping software only captures orders that are processing/complete in magento. I would like to auto invoice orders using this payment method and this payment method only. So that as ...
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 ...
0
votes
1
answer
2k
views
Magento 2 : Payment Method is Hidden in Admin When Creating Manual Order
Recently I upgraded to Magento 2.2.2 and tried to create a test order on my site via admin.
All goes fine until selecting the payment method. I've enabled Purchase Order as a payment method, and ...
1
vote
1
answer
1k
views
Magento2 Braintree not showing on checkout when in Dev, Live and Test servers using either sandbox or production mode
We have setup a Braintree payment method and its working ok when on local but when we tried to setup it in our dev, test and live sites the Braintree is not showing on checkout page using either ...
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.
0
votes
1
answer
29
views
Magento 1: My Custom Payment Module is not showing on Checkout Page
I am using Magento 1.9.4.5
I am developing a Custom Payment Gateway. Its showing up on Admin Configuration Page. But not showing at all in Multishipping Page and Admin Order Creation Page. I am ...
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())
{
$...
0
votes
1
answer
2k
views
How to change Payment Methods on PWA Suite?
I have installed the PWA suite on my local machine.
I have enabled COD and Check / Money order Payment methods. But Why these methods are not showing on the checkout page. Pay with Card only ...
0
votes
0
answers
14
views
Magento 2 module for epago.pe [web-agoraweb-button]
There is payment gateway [https://docs.epago.pe/web-agoraweb-button] and they have provided a piece of javascript code to integrate their payment gateway with any platform but I don't know how to ...
0
votes
2
answers
2k
views
Paypal-Express payment error - incorrect ID
I'm using Magento 2.3.1 with Vnecoms multi-vendor extension and I'm trying to pay with PayPal-Express - mode sale & sandbox.
I can log in in Paypal & it redirects me to the page to choose the ...
1
vote
1
answer
2k
views
Magento 2: Custom Payment Module with Credit Card Form
I created a custom Payment Module from http://cedcommerce.com/magento-2-module-creator/payment-module .
But this payment module has a simple Place Order button. I need a Credit Card form in payment ...