Questions tagged [payment-gateways]
Use it for the service that provides payment processing for e-commerce transactions.
178
questions
-3
votes
0
answers
21
views
Is there's a way to redirect the user to the external link to complete the 3DS
we are doing an on-site payment gateway integration. And we want to authorize the payment with 3DS authentication. So is there's any way to redirect to external link (for 3DS authentication) from ...
0
votes
0
answers
10
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 ...
0
votes
1
answer
202
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
* ...
0
votes
0
answers
17
views
onNotify called 3 times on error returned
I'm using the OffsetRedirect.php file to handle the return of my bank when the user pay his order.
Inside this file, i use the onNotify() method
public function onNotify(Request $request)
{
$...
0
votes
0
answers
37
views
Commerce Square Connect Order Processing
I'm working on a patch for the Commerce Square Connect contrib module as described here:
https://www.drupal.org/project/commerce_square/issues/3228232
The patch I've developed provides basic ...
0
votes
1
answer
103
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 ...
0
votes
1
answer
186
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);
//...
0
votes
0
answers
24
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 (...
0
votes
0
answers
159
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 ...
-2
votes
1
answer
86
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.
2
votes
1
answer
280
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 ...
1
vote
1
answer
144
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.
...
0
votes
2
answers
555
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 ...
-4
votes
1
answer
285
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?
0
votes
0
answers
55
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 ...
0
votes
1
answer
59
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 ...
0
votes
1
answer
200
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() ...
-3
votes
1
answer
48
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 ...
1
vote
1
answer
60
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 ...
0
votes
1
answer
58
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, ...
0
votes
1
answer
549
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 ...
0
votes
1
answer
100
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?
...
1
vote
0
answers
142
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 ...
0
votes
1
answer
23
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 ...
0
votes
1
answer
166
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 ...
0
votes
2
answers
97
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'...
2
votes
1
answer
670
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 ...
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?
0
votes
1
answer
210
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 ...
0
votes
1
answer
66
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 ...
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 ...
0
votes
2
answers
651
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 ...
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::...
0
votes
1
answer
175
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 "...
0
votes
1
answer
90
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 + ...
1
vote
1
answer
205
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?
0
votes
1
answer
184
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 ...
0
votes
1
answer
463
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 "...
3
votes
4
answers
5k
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 ...
2
votes
1
answer
498
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 ...
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 ...
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 ...
0
votes
1
answer
397
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 ...
0
votes
1
answer
136
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 ...
0
votes
2
answers
233
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 ...
0
votes
0
answers
167
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 ...
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 "...
1
vote
0
answers
43
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 ...
0
votes
1
answer
281
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 ...
3
votes
1
answer
477
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 ...