Active
Project:
Ubercart Stripe
Version:
7.x-3.3
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2020 at 18:35 UTC
Updated:
8 Apr 2020 at 22:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jrbrubaker commentedComment #3
jrbrubaker commentedAccording to support at Stripe:
"you're successfully sending requests to add payment methods (ie cards), but that there isn't actually a request that specifies payment info such as the amount of the charge....there is a payment_method being created but not a payment_intent or charge."
Comment #4
andraeray commentedHi jrbrubaker,
Can you confirm the version of uc_stripe you are using?
And prior to this version did you use any other version that worked properly for you?
Comment #5
jrbrubaker commentedHi AndraeRay... Thanks for helping with this.
I'm using 7.x-3.3, with the 6.38 Stripe Library. Everything worked before the updates for SCA authentication last September. I've never had a payment work since then.
Here's my log from a test payment, note there's no payment intent or charge amount. returns "200 OK" but no transaction happens.
{
"type": "card",
"card": {
"number": "************4242",
"cvc": "***",
"exp_month": "01",
"exp_year": "23"
},
"billing_details": {
"address": {
"postal_code": "26292"
}
},
"guid": "2f3f8ce3-d411-47ee-9f07-0f453504afe6",
"muid": "56e455af-bf14-479e-ac23-5ba4d1720e02",
"sid": "0837acd5-fed1-4a86-b8cc-da04482b4386",
"payment_user_agent": "stripe.js/318b4d12; stripe-js-v3/318b4d12",
"referrer": "https://url.org/cart/checkout",
"key": "pk_test_L1******************of9W"
}
Comment #6
andraeray commentedOkay, I see.
It sounds like the call to "www.yoursite.com/uc_stripe/ajax/confirm_payment" might not be successful.
That file is what will trigger the payment to be processed.
Can you check your browser developer tools (F12) and see if that call is failing, or redirecting while trying to make a payment?
Comment #7
jrbrubaker commentedI don't see any calls to /ajax/confirm_payment. I assume it would be an XHR request?
Only those in this screenshot seem to be taking place. Thank you so much for this help.
Comment #8
jrbrubaker commentedHi AndraeRay... Do you have any other thoughts on what could cause this? I see no calls to /ajax/confirm_payment when submitting the payment. I've uninstalled and reinstalled uc_stripe and the library, done everything I can thing of. Any help is much appreciated.
Comment #9
andraeray commentedThat's strange, I sent you an email through Drupal message, am I able to take a quick look?
Comment #10
jrbrubaker commentedThis issue was due to the "disable checkout review" setting in ubercart checkout. When the checkout review was reenabled the system worked as expected.
Comment #11
RaySilver commentedHello,
I'm about to install and test / use this module now that it's SAQ-A compliant. My site has the checkout review disabled. Does that mean this will not work for me? or is there a patch for it?
Thanks!
Comment #12
RaySilver commentedIt looks like it's working with the checkout review enabled. But if checkout review is disabled, I'm not getting the same message as jrbrubaker.. but similar.. it's not working. Can anybody help point to how we can get this working without checkout review?
Thank you.
Comment #13
andraeray commentedThe current module is not compatible with "disable checkout review". Getting it to work might be tricky because there are a few steps involved with creating a processing a charge.
Comment #14
andraeray commentedComment #15
RaySilver commented@AndraeRay yes it seems that way.. some code modification would be necessary. For anybody else that's dealing with the same thing.. for the interim.. what I did is theme the /review page and take everything out.. and submit that page on page load.. I should say .click submitting the form will not work properly since there are events attached to the button.
var getPath = window.location.pathname;
if(getPath == '/cart/checkout/review' ) {
$('#edit-submit').click();
}
still testing all different test card combinations.. but so far everything is working fine.. even with stripe 3D secure authentications.. etc..