drastik / com.drastikbydesign.stripe

CMS Independent Stripe payment processor for CiviCRM 4.x
Other
35 stars 48 forks source link

Issue with Drupal 7 Stripe #253

Open athkfamily opened 6 years ago

athkfamily commented 6 years ago

Stripe is the Payment Processor Account default on our site and we are having a problem with it. Member can not "Submit credit card membership", it always error "Error - The website encountered an unexpected error. Please try again later." And if the member wants to "Renew-Credit Card" will get a warning "Network Error - Unable to reach the server." (screenshot https://prnt.sc/jeoqic)

We are afraid of having something wrong on our site so we tested it on CiviCRM Demo (https://civicrm.demo.civihosting.com/) but here we have the same situation. Please advise what we should to do in this case? We are currently using Drupal 7.59 and CiviCRM 4.7.31.

Thank you!

athkfamily commented 6 years ago

Please help me :)

mattwire commented 6 years ago

Hi @athkfamily Do you have the same problem if you try this fork (5.x branch): https://github.com/mattwire/com.drastikbydesign.stripe

athkfamily commented 6 years ago

Hi @mattwire. The problem still happening with 5.x branch

h-c-c commented 6 years ago

@athkfamily I would say this sounds like a basic configuration problem. I have no issue making a test transaction at CiviHosting.
screen shot 2018-05-24 at 11 36 07 am

Time for basic questions. Have you properly set your secret key and publishable keys both for live and test transactions in the civi stripe pay processor configuration dialog? And checked all the boxes for accepted card types?

athkfamily commented 6 years ago

Hi @h-c-c, thank you for your information.

The payment functions are still working well and without problems, except for the Auto-Renew function. When the membership expires, it does not automatically renew that member. In addition, if you use the "Renew-Credit Card" function you will receive a popup with a white background (see the attached image at the top of this ticket https://prnt.sc/jeoqic) Please check this out for us.

h-c-c commented 6 years ago

@athkfamily a little sleuthing is needed.

You should be able to get some error info about your non-renewing members by looking in the Stripe ui. Find your customer and scroll down to events click on the latest invoice paid event. Technically the event is named, "invoice.payment_succeeded". Then scroll down and expand Webhooks. Take a look in the Response section for an error.

athkfamily commented 6 years ago

Hi @h-c-c . Sorry I haven't had a chance to reply to you soon.

I sent your requests above to my client for getting their information, but the client reported that there was no event named "invoice.payment_succeeded". I do not have an account to check it. So if you have any other way to check it, could you let me know? Also, my client also reported that they cannot Canel Auto Renew of the Member. I checked also and see it comes from the event "Send cancellation request to Stripe?", I am suspicious this issue comes from Webhook. But if you have any idea, please tell me, thank you so much!