dualcube / moodle-enrol_stripepayment

Moodle Stripe Payment Collector
16 stars 27 forks source link

Error Message after Card Payment #118

Closed lucas-fath closed 1 year ago

lucas-fath commented 1 year ago

Hello

We are currently facing the issue that we get an error message after paying for a course with a test credit card. I have attached a step-by-step video of this issue.

We are currently using Moodle Workplace 3.11.6 and enrol_stripepayment 3.3.4.

screen-capture.webm

Is there a way to fix that?

Kind Regards Lucas Fath

moumitahalder commented 1 year ago

Hi @lucas-fath, our team is looking into this.

Kindly provide them some time.

lucas-fath commented 1 year ago

Hi, sorry for the long response time. Our colleague unfortunately didn't find the time to export the event. I just tried to set up my own stripe account and switched out the keys with mine.

Unfortunately now nothing happens when we click the "buy now" button. It loads for a short time and then just goes back to displaying "Buy now". However if I call the URL that get's called in the Networks tab of the devtools (Request URL: https://academy-test.snom.com/lib/ajax/service.php?sesskey=8DegVgGmly&info=moodle_stripepayment_stripe_js_settings ) I get this message: {"error":"Coding error detected, it must be fixed by a programmer: Invalid json in request: Syntax error","errorcode":"codingerror","stacktrace":"* line 63 of \/lib\/ajax\/service.php: coding_exception thrown\n","debuginfo":"\nError code: codingerror","reproductionlink":"https:\/\/academy-test.snom.com\/"}

Is this a setup issue of the plugin?

Thanks for your help and sorry again for the long response time and any inconveniences this may have caused.

Greetings Lucas