Hot answers tagged

3

When it comes to supporting TLS 1.2, generally this is a server-side change, not a script-based change. So there's no action needed on DevDemon's part. Simply ask your host if they support TLS 1.2. (Also, Store does not use Stripe's PHP library - they make more "bare-metal" calls to the API.) You can test it yourself by following Stripe's notes here.


3

(I'm with Vector, the people who are now behind CartThrob. I know this is an old question but it still pops up on Google sometimes for some of our customers, so I'm answering it). CartThrob Subscriptions fully supports Stripe in Europe (and any geography Stripe supports). And, Subscriptions allows you to gate access to content or pages based on a user's ...


3

I asked this question earlier, and it turns out in 2.5 the delete functionality was accidentally removed according to the answer. How to delete order?


3

Two things. First, check you are running the latest version of Store. There was a bug related to Stripe card tokens fixed in v2.0.4. Second, check which fields are actually being submitted to Store (in your browser's network tab), after the Stripe response comes back. Make sure payment[token] is actually submitted, and that it contains something which at ...


2

Currently Store does not support recurring payments or subscriptions, it is currently a feature request so you can show your interest by voting for it. If you need something soon you have a few options you can build an extension that listens for the request from Stripe and then does something in the system. Full extension hook documentation is available ...


2

When you have a form that is not submitting you should always remove error_handling="inline" error_delimiters='<span class="help-inline">|</span>' from your template to see if you have any errors being reported that are not templated. Having said that if you are trying to register a member during the checkout process you need to include both a ...


2

The answer below is correct for every version but 2.5.0. In 2.5.1 the checkbox is on the left and you can delete entries. The checkboxes were accidentally removed in version 2.5.0.


2

Per the comments, in this case Stripe was working fine. The token was correctly submitted to Store. However, the wrong private API key was specified in the Store settings. I had the wrong private key in the Store settings. I had assumed the JS would alert for key errors, and didn't think to try that. For future reference, always try putting {error:...


2

You can override the default behavior by setting a custom error handler. Make sure this code comes after your checkout_form. <script> CartthrobTokenizer.setErrorHandler(function(errorMessage){ //do what you want with the errorMessage. the default behavior is to alert() it //something like $("#alert-box").html(errorMessage).show(); }); </script&...


2

Adrian showed us the light. Since we are using radio buttons instead of a select drop-down, this line had to go from: if (this.form.elements["payment_method"].value == "stripe") { to if ($(this.form).find("[name='payment_method']:checked").val() == "Stripe") { Been working like a champ since the fix. Thanks exp-resso guys!


2

Unfortunately the Stripe gateway for CartThrob will not look for or pass any metadata to Stripe. You'd have to manually add this into the gateway code, or roll your own custom gateway for Stripe. Consider contacting them with a feature request!


1

There is nothing built in to Store that would allow you to prevent a particular card type from being processed at the module level. If the gateway required the card type you would be able to use a select and omit any card types you did not want to support. So for example you could do <select name="payment[card_type]"> <option value="">...


1

There is not a setting in Store you would need to log into your Stripe account to enable their email to be sent for different actions. To do this you would need to do the following: Go to https://dashboard.stripe.com/account this should bring up the account modal if not click on your account name in the upper right corner. Click emails from the modal window ...


1

I just battled this for half a day myself with Store and Stripe , and the issue ended up being with forms not being able to submit via javascript when there is any element inside the form named submit. This is tricky since originally, Store required that you have an input named submit to complete the checkout process. They did add the ability to use commit ...


1

I would highly suggest staying away from CartThrob in general, and Subscriptions in particular. I had to fix a half dozen bugs in their Subscriptions code myself before my client's site was half functional, and there are still issues with the product. Basic things like subscriptions rebilling, ending on expiration dates, etc. were all broken. MightyRobot ...


1

Just for anyone that runs into this. The actual submit button must have name="submit" in it. For example doesn't work: <input type="submit" class="button checkout_button" id="checkout_submit" value="Checkout"> This does work: <input type="submit" name="submit" class="button checkout_button" id="checkout_submit" value="Checkout"> The first one ...


1

From the docs, it implies you have to 'hard-code' your keys in your template : http://www.devdemon.com/documentation/subscriptions/#subs-payment-gateway-stripe I realise your reading the default templates however I would guess that if you use a default template via a subs tag it'll inject these values into globals, that or they are placeholders with ...


1

In Store 1x versions this was easily possibly because you named each gateway you enabled manually. When V2 was released this was changed (I assume to help reduce the support request about people mislabeling gateways). In V2 you would need to go into Store folder and find the Stripe gateway folder/file and duplicate the structure while changing the naming of ...


1

Well thanks to John Baxter i have the solution to all my issues with email notifications, but as I've said to John I'm both super pleased its solved but frustrated at the reason. So thought good to post.. Basically the option of Log Email.. if this is set to either NO, or Log but don't send then it doesn't send the notifications!.. now to me this means ...


1

CartThrob already has a Stripe Payment Gateway you will want to follow http://cartthrob.com/docs/pages/payments/index.html to enable the Stripe gateway on your site. You shouldn't need it but if you were interested in developing your own gateway you would want to follow their Payment Gateway Plugin API guidelines.


1

You may want to ensure the return template for order_complete is defined (and also exists). In the example below, the order_complete template should contain the {exp:cartthrob:submitted_order_info} tag. {exp:cartthrob:checkout_form return="{template_group}/order_complete" required="first_name|last_name|address|city|zip" gateway="...


1

Currently the Stripe payment gateway for Store does not do this. I don't imagine it would be that difficult though if you are comfortable with PHP. First off, I'd suggest you make a copy of the Stripe gateway, rather than modify the original. Make sure it has a new name, which will involve renaming files, classes and directories, so that it comes up as a ...


1

Yes, if you check your CT settings (Cartthrob > Settings > Payments) and you have your gateway set to Stripe you should see an "HTML Template" setting, which if left to Default, will display the HTML generated by the {gateway_fields} tag. It doesn't include a country select. You can copy this code and add it, along with a select tag for your country field, ...


1

Per our email discussion, the actual problem was that jQuery was not loaded, and there were JS errors in the error console because $ was not defined. So for anyone else having this problem, it's worth checking your error console and make sure that the javascript is working as expected.


1

Are you using your publishable key here? This is specific to your stripe account. Stripe.setPublishableKey('pk_live_XXXXXXXX');


1

This issue resulted from the use of radio buttons in the submit form. One radio button selected Paypal and the other selected Stripe as the payment method. There was a bug in the Store code didn't work with this setup. The guys at Expresso took care of it quickly and included the fix in the next build of Store (before the release of Store 2). If you run ...


1

Stripe has API keys for both Test Mode and Live Mode. Make sure the mode of the public API key used in your Store template matches the mode of the private key pasted into your Store settings for Stripe.


1

While this error looks somewhat generic, in this case the cause appears to have been a lack of secure connection (HTTPS) or/and some limitation from running on a local environment. Now that I've got the site on a staging server with an SSL certificate, this error no longer appears. Days later this error appeared again after I added shipping options. ...


1

Derek hit the nail on the head - there is no way to do this automatically, so you will need to create a simple PHP extension to update the member's group in the database. If you're not sure where to start, take a look at the EE Extension Development Guide, and you want to use the store_order_complete_end hook.


1

Have a look at the store_order_complete_end extension hook. The $order array should contain the member_id of the customer, which you can then use in a query to change their member group assignment.


Only top voted, non community-wiki answers of a minimum length are eligible