com.drastikbydesign.stripe icon indicating copy to clipboard operation
com.drastikbydesign.stripe copied to clipboard

Problem with recurring payments

Open lizmestres opened this issue 8 years ago • 17 comments

I'm using Drupal 7.53 and civicrm 7.x-4.7.14. I just set up stripe, but recurring payments continually display "pending." I set the webhook path in my stripe account and the charges are taking place. What am I missing?

lizmestres avatar Jan 28 '17 23:01 lizmestres

Are you on the latest GitHub 4.7-dev version?

h-c-c avatar Jan 28 '17 23:01 h-c-c

I'm on 4.7.1

lizmestres avatar Jan 28 '17 23:01 lizmestres

Please upgrade to the latest GitHub 4.7-dev version.

h-c-c avatar Jan 29 '17 01:01 h-c-c

@h-c-c You feel like we're ready for a new release at this point?

drastik avatar Jan 29 '17 03:01 drastik

I've upgraded but nothing seems to have changed.

lizmestres avatar Jan 29 '17 04:01 lizmestres

@lizmestres do you get 'access denied' when you go to:

http://yourdomain.org/civicrm/stripe/webhook

@drastik it's close. But , there's a issue I want to address upstream and then act on the outcome... Plus New Feature:refunds is pretty close to being done. \o/ I need some questions answered first.

h-c-c avatar Jan 29 '17 20:01 h-c-c

No, it takes me to the civicrm dashboard

lizmestres avatar Jan 29 '17 21:01 lizmestres

Ok, that's a problem. Logged in or not, you should get a json encode error.

We have to go though some very basic troubleshooting steps. Can you confirm your Stripe extension is enabled?

http://yourdomain.org/civicrm/admin/extensions?reset=1&action=browse

h-c-c avatar Jan 29 '17 22:01 h-c-c

I see the second, plus several other folders: CRM (folder) info.xml js (folder) LICENSE.txt packages (folder) README.md stripe.civix.php stripe.php templates (folder) xml (folder)

lizmestres avatar Jan 29 '17 22:01 lizmestres

For this instruction: "You will have to make a Webhook rule in your Stripe.com account and enter this path for recurring charges to end!, " I went to the webhooks section of my account and clicked "add endpoint" and then put the full path in. Is that what's meant by making a Webhook rule?

lizmestres avatar Jan 29 '17 22:01 lizmestres

Yes. The path is different between CMS's (Drupal, Wordpress, Joomla).

drastik avatar Jan 29 '17 23:01 drastik

This is what @h-c-c means by the error message you should see when visiting that path: selection_139

drastik avatar Jan 29 '17 23:01 drastik

This is what I put in my stripe acct for a webhook endpoint url: https://globaljusticecenter.org/civicrm/webhook (it's drupal)

lizmestres avatar Jan 30 '17 00:01 lizmestres

I just disabled and enabled the extension and got the message that the url should be https://site.org/civicrm/stripe/webhook -- I added the stripe part and now get the error message you mention. Hopefully, that was the problem.

lizmestres avatar Jan 30 '17 00:01 lizmestres

That is the URL as it should be in your stripe.com settings also.

drastik avatar Jan 30 '17 06:01 drastik

I think it's fine now--I misread the directions so many times. Thanks for all your help.

lizmestres avatar Jan 30 '17 18:01 lizmestres

Sweet! You're welcome!

h-c-c avatar Jan 30 '17 20:01 h-c-c