2022 Developer Survey is open! Take survey.

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
39 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 ...
user avatar
-2 votes
1 answer
23 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.
user avatar
  • 2,476
2 votes
1 answer
72 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 ...
user avatar
1 vote
0 answers
56 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. ...
user avatar
  • 360
0 votes
0 answers
24 views

Error page after Paybox offsite validated payment

Working on Drupal 7.81 and Commerce Paybox 7.x-1.3 Everything is going well except for the redirection from Paybox to my e-commerce site, I constantly have an error page after redirection. Paybox ...
user avatar
  • 415
0 votes
2 answers
277 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 ...
user avatar
  • 3
-4 votes
1 answer
127 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?
user avatar
  • 1
0 votes
0 answers
31 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 ...
user avatar
0 votes
1 answer
36 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 ...
user avatar
  • 365
0 votes
1 answer
82 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() ...
user avatar
-3 votes
1 answer
40 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 ...
user avatar
1 vote
1 answer
41 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 ...
user avatar
  • 365
0 votes
1 answer
48 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, ...
user avatar
  • 365
0 votes
1 answer
354 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 ...
user avatar
  • 365
0 votes
1 answer
50 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? ...
user avatar
1 vote
0 answers
50 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 ...
user avatar
  • 125
0 votes
1 answer
14 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 ...
user avatar
0 votes
1 answer
139 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 ...
user avatar
  • 365
0 votes
2 answers
57 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'...
user avatar
1 vote
1 answer
548 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 ...
user avatar
0 votes
1 answer
47 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?
user avatar
0 votes
1 answer
179 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 ...
user avatar
0 votes
1 answer
39 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 ...
user avatar
4 votes
3 answers
1k 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 ...
user avatar
0 votes
1 answer
554 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 ...
user avatar
  • 425
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::...
user avatar
  • 425
0 votes
1 answer
100 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 "...
user avatar
0 votes
1 answer
80 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 + ...
user avatar
1 vote
1 answer
146 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?
user avatar
  • 605
0 votes
1 answer
136 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 ...
user avatar
0 votes
1 answer
290 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 "...
user avatar
3 votes
4 answers
4k 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 ...
user avatar
  • 41
2 votes
1 answer
484 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 ...
user avatar
  • 489
0 votes
1 answer
50 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 ...
user avatar
  • 51
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 ...
user avatar
0 votes
1 answer
361 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 ...
user avatar
  • 33
0 votes
1 answer
128 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 ...
user avatar
  • 51
0 votes
2 answers
205 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 ...
user avatar
0 votes
0 answers
138 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
  • 361
0 votes
1 answer
79 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 "...
user avatar
1 vote
0 answers
35 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 ...
user avatar
0 votes
1 answer
272 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 ...
user avatar
  • 395
3 votes
1 answer
429 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 ...
user avatar
2 votes
1 answer
147 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 ...
user avatar
  • 21
0 votes
1 answer
63 views

Hide form behind PayPal payment

The site I'm working on at the moment has a competition that requires the following workflow: User creates an account User pays fee with PayPal (ideally a button) User enters multi step/page form I'...
user avatar
  • 451
1 vote
1 answer
217 views

Supported recurring payments [closed]

I would like to activate Recurring Payments in Drupal. Is there a list of supported payment methods?
user avatar
  • 11
0 votes
2 answers
361 views

Can payment be done in pop-up rather than using redirect?

We have an online store with a few hundred products, and we'd like to streamline the checkout & payment process. Currently our payment processor requires the website to be redirected to their site ...
user avatar
0 votes
1 answer
129 views

Why there are two payment for one order with same remote ID

Right now, I am using Commerce Paypal to capture payment. But I found there is a order which shows me two logs for capturing payment. However, I just find one in my paypal account and also I found the ...
user avatar
  • 300
1 vote
1 answer
166 views

PCI compliance with authorize.net payment- Drupal7.x

I am looking for a solution where I can collect simple payments from my users but not collect the payment details on drupal server. SO i need to Attach a payment component to a webform User can fill ...
user avatar
  • 11
0 votes
1 answer
363 views

where does $data come from in hook_tokens?

In a custom module i have hook_tokens() implemented in order to create some custom tokens. What i realized is that some data is being declared as null but i don't know where this is happening. These ...
user avatar
  • 408