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
2
answers
661
views
How can I force users to input a shipping address when using the Commerce Paypal WPS submodule?
I just built a store in Commerce using Drupal 7 and I am taking payments by the Commerce PayPal WPS submodule. However, when I tested checkout, I found it was possible to buy a product without ...
3
votes
1
answer
629
views
URL to catch post data from off-site payment gateway in Drupal commerce
We have to set up an Drupal 7 e-commerce site with Commerce module (Kickstart) that accepts payments via an off-site payment gateway. For which we are developing a commerce payment method that will ...
8
votes
1
answer
496
views
Order list: Pay unpaid invoices
I have created some extra statuses: Paid and Unpaid.
Now they got the functionality and react on the transaction balance perfectly fine. However, on the user site, it is kind of a dumb thing.
Even ...
0
votes
1
answer
391
views
How to force rules configuration to load
There is a rule that comes with Commerce Paypal, commerce_payment_paypal_wpp, it implements an Action: "PayPal WPP - Credit Card", which provides an admin interface to configuring the PayPal WPP, with ...
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
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
2
answers
477
views
Commerce PayPal wps sends to and gets data from sandbox but no payment method available
I'm on localhost without ssl and fix IP.
I can checkout with PayPal WPS, go to sandbox, confirm as buyer, and when I click in the sandbox I go back to my testsite after confirming to leave SSL.
In ...
8
votes
2
answers
2k
views
How to setup event registration and paypal payment?
We have events and we take registrations for them. Entity Registration module is installed for that purpose and it's working great. Now, since those events are paid events, we want to implement PayPal ...
2
votes
1
answer
503
views
Paypal express checkout doesn't add taxes
I am creating a site where they only want to use paypal express checkout (using drupal 7 /Ubercart 3.1). The problem is that it doesn't display the taxes when processing the order.
I know it doesn't ...
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
376
views
Save Ubercart order in database, processed through custom payment gateway
I am developing a custom payment gateway module for ubercart, I am able to complete an order on the third party payment system using their api and its working fine, the problem I am facing is how to ...
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 ...
0
votes
1
answer
632
views
How can I track order details (products, quantities) in PayPal?
BACKGROUND
I have an online store. Previously, I used PayPal "Buy it now" buttons, and I had a button for each product. I would then periodically export the data from PayPal (download history as ...
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 ...
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 ...
-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?
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 ...
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, ...
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
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?
...
0
votes
3
answers
2k
views
How to set programmatically Line Item Price?
I just managed to add programmatically a line item (type: product) to my order.
I struggle to set the price for this item now.
How can I set the price at the same time when adding such an item (and ...
0
votes
2
answers
691
views
How to remove the form_state, form_id and form_build_id when submitting a form?
I have been creating a payment gateway integration module for Drupal 7.
When I post the form to the payment gateway API, it is posting extra variables like form_id, form_build_id, and form_token.
...
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::...
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'...
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 ...
1
vote
0
answers
116
views
How to securely store user's credit card information by using Drupal and Paypal?
I am working with payment process in my drupal project. Also I have asked to use papal payment gateway (Paypal pro).
My outstanding requirement is to store user's credit card information for their ...
1
vote
0
answers
124
views
Checkout not redirecting to PayPal upon submission of form in IE and Firefox
I've searched high and low for an answer to my problem, but haven't found one. I'm using the Commerce PayPal EC module to allow users to purchase ads on my site. It works well in Chrome and Safari, ...
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
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
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 ...
0
votes
1
answer
576
views
Can't successfully Checkout using Braintree v.zero
I'm integrating Braintree's v.zero drop-in ui as a payment method and on the checkout form.
I fill-up the credit card details and click "Continue to next step", the ajax submit and Braintree loads ...