Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi. I've installed the module and have it set up and it is mostly working, except that Authorization and capture immediately does not seem to be.
When a purchase is made, the new customer is added on Stripe.com, along with their card details, and I can capture a payment manually.
However, I was expecting that the software would automatically capture the payment. Please can someone confirm that this is the case, and if so help me work out what I'm doing wrong?
Comment | File | Size | Author |
---|---|---|---|
#5 | capture.1.patch | 4.08 KB | roblog |
Comments
Comment #2
rfayI haven't looked at it since posting the 8.x - It was certainly capturing (in test mode) at that time. Hopefully somebody who is using 8.x can comment.
Comment #3
roblogI'd appreciate some input from anyone with more experience of the module. I'm trying to deduce if it is a configuration problem on my part, or the software is working as intended.
Comment #4
roblogThere is no call to \Stripe\Charge::create in 8.x-2.x.
The only reference to it is in uc_stripe.module, in relation to uc_recurring, but it has been commented out because it is not finished.
In fact there's a whole block of code missing from the D8 version that is in the D7 version:
Comment #5
roblogI've created a patch with the missing code, ported into D8
Comment #6
rfayComment #8
rfayWell nice work. I tested and you are in fact correct that without this patch it didn't charge and with it it did. Pretty impressive missing feature! Thanks for the good work on this, and I hope you can fix up other things. I don't have *any* site using this in 7.x or 8.x, and am not currently working with Drupal so pretty rusty. I had to move heaven and earth just to figure out how to install the stripe composer dependencies again.