Questions tagged [payment-gateways]

Use it for the service that provides payment processing for e-commerce transactions.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

D10 Commerce 2 Update Payment Status with PATCH Call to the REST Ressource dont work : ACCESS DENIED

Drupal 10.2.5 with Commerce 2.8 Under /admin/config/services/rest i activated the Payment REST Ressource. This provides the methods GET, PATCH and DELETE under the following path : /entity/...
Maik's user avatar
  • 1
2 votes
1 answer
64 views

Removing data from an entity type

I am trying to remove a problematic payment gateway module and getting the following message when trying to uninstall it: There is data for the bundle Authorize.net (Accept.js) on the entity type ...
Ben Stark's user avatar
0 votes
0 answers
16 views

How do I get the total amount when creating a payment method at checkout(Gateway Plugin)?

This is for a gateway plugin that I am developing. This is when the user is checking out and entering payment information, etc. My Process When the paymentMethodAddForm is submitted I create a ...
Sleewok's user avatar
  • 135
0 votes
1 answer
219 views

Stripe doesn't see API key after TrustedRedirectResponse

I have a controller that calls the Stripe API using stripe-php to create a checkout session. /** * Checkout using Stripe. * * @param \Symfony\Component\HttpFoundation\Request $request * ...
mbomb007's user avatar
  • 516
0 votes
1 answer
112 views

Unable to enter credit card payment information

I just noticed that I'm unable to enter credit card payment information (card number, expiration date, CVV) when going through the Drupal Commerce checkout processing using the Square Connect payment ...
Scott Hollenbeck's user avatar
0 votes
1 answer
219 views

Order balance not directly updated after payment created

I'm trying to figure out why my order balance isn't directly updated after I've created a payment. I'm debugging it with xDebug. This is my OnNotify function $this->order = Order::load($orderId); //...
lobafox's user avatar
  • 113
0 votes
0 answers
26 views

How to inherit Payment Gateway configurations?

I have a main payment gateway which I want to configure. And multiple other payment gateways which I want to inherit the main gateway's configuration data. I only have the CommercePaymentGateway ID (...
Simon Lovec's user avatar
0 votes
0 answers
176 views

Off-site payment gateway success/failure return is caught by a differnt custom module

I have created an offsite (redirect form) payment gateway Drupal 8 module for Opayo.co.uk. following drupal commerce documentation. Issue: My custom off-site payment gateway module based on form ...
Monsoonpk's user avatar
-2 votes
1 answer
92 views

How do I capture bank account name, number, branch code, etc. in checkout for offline processing?

The Commerce Bank Transfer module claims this is part of Commerce 2.x, but I am not sure how to accomplish it. Any suggestions would be appreciated.
Sivaji's user avatar
  • 2,478
2 votes
1 answer
315 views

Safely save data to the order in onNotify()

I'm new to Drupal and have to make an off-site payment gateway (with Drupal Commerce 2). It all works, but sometimes it doesn't. The remote payment provider's server sends notification requests to the ...
DisplayName's user avatar
1 vote
1 answer
166 views

Redirect directly to the payment provider page

I'm building a store with Drupal Commerce and creating my own off-site payment gateway. On the review page, after selecting payment method, the user can click the button to pay and finish the order. ...
Mistraë's user avatar
  • 392
0 votes
2 answers
642 views

What could be causing this error?

I am facing an error in Drupal 9 Stripe module. After installing the module and setting the private and public keys, I visited the /admin/commerce/orders/84/payments/add page, and selected my newly ...
jane's user avatar
  • 3
-4 votes
1 answer
305 views

How do I integrate third-party payment gateways? [closed]

I need to integrate third-party payment gateways like Razorpay, Payu with Drupal 8 Webform. Is there any way to achieve this?
Vishak's user avatar
  • 1
0 votes
0 answers
56 views

Problem with CCAvenue Module - Order not generated after successful transaction

I am using Drupal 8 module of CCAvenue. For some reason I am not able to get it work, I have used both the modes - Test and Live. Actually the issue is when I place an order and click on checkout page ...
Burhanuddin Kanchwala's user avatar
0 votes
1 answer
67 views

Billing address missing for recurring orders

I'm using Datatrans module as payment gateway. Module does not fully support recurring payment, so I had to add some missing functionality. I added method createPayment: public function ...
MilanG's user avatar
  • 539
0 votes
1 answer
215 views

How To Set Order State Completed after Notification?

I am Writing a Payment Gateway(Onsite) Plugin For Commerce 2, I am Stuck with Checkout Flow Step Transitions. Let Me Explain: I am extending the OnsitePaymentGatewayBase and in the createPayment() ...
SHUHAIB AREEKKAN's user avatar
-3 votes
1 answer
50 views

Can Onsite PaymentGateway Support Notification

I have seen many implementations of notification in OffsitePaymentGatewayBase Like WorldPay, QuickPay Can I Extend the OnsitePaymentGatewayBase class and use onNotify() Method for receiving Payment ...
SHUHAIB AREEKKAN's user avatar
1 vote
1 answer
73 views

Why recurring order becomes completed immediatelly after payment (no fulfillment status)?

I'm using Commerce datatrans module which originally supports only offsite payments. However I added extra functionality for recurring payment and it works well. Only issue I have is that when method ...
MilanG's user avatar
  • 539
0 votes
1 answer
60 views

Recurring Framework crashes with Datarans

I'm using Commerce Recurring Framework latest version (8.x-1.0-beta5) with Commerce Datatrans (also latest version, 8.x-1.0-beta1). When first payment happens (customer gets redirected to Datatrans, ...
MilanG's user avatar
  • 539
0 votes
1 answer
583 views

What payment gateway should be used for invoice payment?

My Drupal commerce site supports multiple payment gateways. One of the payment types should be paying by invoice. That means if you select invoice payment type during checkout process you don't have ...
MilanG's user avatar
  • 539
0 votes
1 answer
123 views

Ajax callback never called / triggered

I'm working on a payment gateway, so I've created a BasePaymentOffsiteForm form where I'm trying to make an ajax callback, but it is not working. Can you help me to know what is wrong with my code? ...
Ivan Chavarro's user avatar
1 vote
0 answers
167 views

How to programatically link payment with an order in Drupal commerce?

Version: Drupal Commerce 2.x. I am creating orders programatically by following the instruction from the documentation. I looked for various resources but couldn't find any way to link payment with ...
Aves2432's user avatar
  • 145
0 votes
1 answer
24 views

Purchases with points occupying ubercart

I want to use ubercart to create a site for online purchases but I would like to know if you can use points as a form of payment, I mean that users are placed points with which they can buy items and ...
Isaias's user avatar
  • 1
0 votes
1 answer
168 views

Can a product support recurring and not recurring payment at the same time?

So if for some product variant I check option "Allow subscriptions" all product variants of that products can be bought only in recurring way? Is that true? I mean, I can not have one product and one ...
MilanG's user avatar
  • 539
0 votes
2 answers
111 views

How to do automatic card authorization during checkout process?

I have a website that uses Drupal Commerce, we use Authorize.net for authorization and use AcceptJS as a plugin. When you put in the credit card information, it checks with Auth to make sure that you'...
user3298205's user avatar
2 votes
1 answer
687 views

How do I add extra cost with cash on delivery?

I have implemented and eshop with commerce module in drupal 8. How can I add extra cost in case the customer chooses the cash on delivery method? I use payment module. Is there any solution or some ...
Dimitris Markopoulos's user avatar
0 votes
1 answer
57 views

Drupal Commerce Payment Module

I am creating a Drupal commerce Payment module and planning to sell it through codecanyon. Is there any licencing issues if I proceed with this?
Pramod Sivadas's user avatar
0 votes
1 answer
219 views

PaymentMethodManager() get plugin on NULL ubercart error

Hi when trying to create an order in checkout state, the order gets created however when trying to view the order it errors out with the error below: Error: Call to a member function getPlugin() on ...
Prerit Mohan's user avatar
0 votes
1 answer
72 views

In Commerce 2, how can we allow users with a role to bypass payment during checkout (bill me later)

We have a Commerce 2 site that we need to be able to assign users a role ('Bill Me Later') that will allow the user to select the payment option 'Bill Me Later' during checkout. I have not found a ...
quantumized's user avatar
  • 1,217
5 votes
3 answers
2k views

How to set up a recurring payment

I need to set up a recurring payment on Drupal 8. I discovered these two possiblity : https://stripe.com/us/billing https://www.drupal.org/project/commerce_recurring What is the difference between ...
553aa08930's user avatar
0 votes
2 answers
662 views

How to update payment status inside an order?

I am trying to update order status and payment status depending upon the value we get in a variable called $payment_status. I am able to update order status but I am unable to update payment status ...
Rifas Ali's user avatar
  • 490
0 votes
3 answers
2k views

How to change payment state programmatically?

I had created a custom module to update order state and payment state. In my controller I used the following code to change the order state of order. $order = \Drupal\commerce_order\Entity\Order::...
Rifas Ali's user avatar
  • 490
0 votes
1 answer
186 views

How to hook payment created on commerce 2

I use commerce to create a bakery. Unfortunately, there is no module to pay by check or cash. So I use the payment example "manual". I need to debit the user account when a payment is entered (a "...
christophe Natale's user avatar
0 votes
1 answer
93 views

Drupal Mollie Payment no rules trigger

We are working on a drupal ecommerce subscription service. Modules: Commerce, Commerce Mollie, Payment etc.. Everything works 99%. After finishing the payment the user needs to get the right role + ...
Prezoncraft's user avatar
1 vote
1 answer
223 views

how do i modify the paypal order details?

My client logs into Paypal to review the orders that have been processed and would like to see the actual product name rather than the order number. How do I accomplish this?
fndtn357's user avatar
  • 605
0 votes
1 answer
191 views

Where do I find the "Security code" to test "Commerce PayPal WPP Credit Card" with my "sandbox buyer account"

I am on Drupal 7.59 and using Commerce and Commerce PayPal modules. I am at testing step, using my PayPal sandbox accounts (buyer and facilitator) to check if my PayPal classic and PayPal Credit Card ...
Georges Amos's user avatar
0 votes
1 answer
480 views

Authorize.net Getting error "A valid amount is required."

In our project we have used Commerce Authorize.Net module. We have not added any discount. No coupons are applied yet still when we proceed to checkout in testing mode we are always getting error as "...
Arpi Patel's user avatar
3 votes
4 answers
6k views

How do I programmatically update the order status?

After Payment is accepted, I need to update the order status to "Completed" from the page controller. How do I do this, on Drupal 8? I find no documentation about this; there is an example for ...
Webman's user avatar
  • 41
2 votes
1 answer
500 views

Commerce 2 how to set to live paypal signature API Credentials

I have set up a sandbox account and I can take TEST payments without issue but there is nowhere for the live account details. If I set the app you can create to live it gives different account API ...
BigEd's user avatar
  • 649
0 votes
1 answer
53 views

How to handle tokens in Rules field?

I have duplicated Drupal Commerce module "Cash on delivery", from which I am trying to make custom module, where if customer choose as payment method my new payment, it will simply print out text with ...
Lub's user avatar
  • 61
3 votes
3 answers
3k views

Do not request a billing address during checkout

By default, Commerce 2 requests credit card info + address info (name, address, and company name) for all orders. I want to have users enter their credit card information but I don't want to collect ...
Patrick Kenny's user avatar
0 votes
1 answer
402 views

Commerce: How to skip checkout cart and redirect to PayPal

How i have to set a rule to go direct to Paypal site? I use PayPal Express and i am not able to solve this. The only one rule i can set is to go to cart/checkout. But i´d like to go one step forward ...
Da.'s user avatar
  • 33
0 votes
1 answer
140 views

Credit card and check payments in one order type

I've created a store in Commerce 2. The store has 1 order type currently, which uses the default workflow (Draft->Completed/Cancelled). There is also 1 order item type only and all products belong ...
Eric G's user avatar
  • 51
0 votes
2 answers
237 views

How to create a custom payment page attached to a user account's form

I am on Drupal 7 and I am building an ads website in which people can buy credits via their account form. I am not using Commerce or Ubercart for very complex reasons that would be a bit long to ...
Georges Amos's user avatar
0 votes
0 answers
173 views

How do I add another email address for PayPal email Notification?

I’d like to add a additional receiver email address for new orders to my Drupal Commerce site. I have added another PayPal receiver e-mail addresses to the the PayPal Express Checkout payment method ...
user avatar
0 votes
1 answer
83 views

getting a notice in reports for Commerce Paypal EC. IPN for Order ignored:

I am using Commerce PayPal and specifically the submodule for Express Checkout. When checking the reports, I see many different IPN connections happening. the last two, the user is marked as "...
Anon Ymous's user avatar
1 vote
0 answers
44 views

paypal ec product discount not applied [closed]

I've searched around and can't see any issues or bugs so thought I would ask the question first regarding Paypal EC when a product discount is applied. I have recently installed/setup Paypal EC ...
Max Ollerenshaw's user avatar
0 votes
1 answer
282 views

How do I make a withdrawal?

I'm implementing a site where users pay for submissions and reviewers get paid. Drupal Commerce with Commerce Credits allows me to buy credits using Paypal and to pay on site with credits for ...
geraldo's user avatar
  • 405
3 votes
1 answer
487 views

How do I deal with discounts/refunds and a payment gateway to achieve accurate reporting for accounting?

First off, this seems like a fairly basic function required for ecommerce. I was presented with a question today: "Will our new website give reporting so accounting can be done from within the ...
Anon Ymous's user avatar
2 votes
1 answer
165 views

Commerce Flat Rate Shipping not being added in Paypal Express Checkout

I'm hoping this is straight forward, but I can't seem to find the answer. I have Drupal Commerce setup and working properly. I have Commerce shipping setup to use a flat rate of $7.00 I have Commerce ...
Chris's user avatar
  • 21