tradge VIP
Total posts: 6
23 Jul 2018 03:55

I am attempting to diagnose why my Stripe purchases are taking the customer back to the subscription page with the message: "Registration failed: PLease select subscription plan." and not creating their account. As part of this I've enabled logging for the Stripe payment method, where exactly are these logs stored?

In order to replicate the actual error in case logging isn't available you can click the Buy Now button on Chartist Pro - Monthly here: https://beta.thechartist.com.au/component/com_emerald/Itemid ,1213/view,emlist/ and click the purchase button (looking to overwrite that template file to change the text on that button as well) then use any of the test cards here: https://stripe.com/docs/testing to complete the purchase process.

Last Modified: 14 Aug 2018


tradge VIP
Total posts: 6
31 Jul 2018 03:52

Found a solution for the underlying issue so its now not an issue that the stripe error logs aren't printing out to /logs/.

The response I was getting back when completing a payment was "Received unknown parameter: name" this was due to the name field being passed within the _update_plan($plan) function within /components/com_emerald/library/gateways/stripe/stripe.php. In order to resolve this the $plan2save had to be updated so that "name" => $plan->name, became "nickname" => $plan->name, as per the stripe documentation here: https://stripe.com/docs/api#plan_object which doesn't have a name but does have a nickname that serves the same purpose.


Sergey
Total posts: 13,748
03 Aug 2018 04:50

I've updated Stripe gateway today. Try to update.


tradge VIP
Total posts: 6
12 Aug 2018 21:51

Would you be able to update the page: http://www.mintjoomla.com/download/joomla-3/item/25-payment-gateways/6555-emerald-payment-gateway-stripe.html the download option appears to be missing from here. The package version in 10.104 is the one currently in use but this was last updated 3 months ago.


Sergey
Total posts: 13,748
14 Aug 2018 07:05

Updated. Somehow file was deleted.

Powered by Cobalt