[Skip to main content](#vessel-content)

#   \[SOLVED\] Stripe Payments Failing

##

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

12 years 8 months ago -  12 years 7 months ago [\#145529](#145529) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  *[\[SOLVED\] Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#145529 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")* was created by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")*

-- url of the page with the problem -- : [ www.wendy-brown-art.co.uk](http://www.wendy-brown-art.co.uk)
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2.2
-- PHP version -- : 5.3.8
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id

I am trying to set up Swipe as a payment method but get the following error:

> Error charge : You must supply either a card or a customer id

Looking at the log in the Stripe Dashbord it reports:

> Parsed Request POST Body
> {
> amount: "5350"
> currency: "GBP"
> description: "Order number : 77"
> }
>
> Response body
> {
> error:
> type: "invalid\_request\_error"
> message: "You must supply either a card or a customer id"
> }

I am using Stripe in test mode and SSL is installed on the domain.

Regards
Trevor

Last edit: 12 years 7 months ago by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 8 months ago -  12 years 8 months ago [\#145539](#145539) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#145539 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

Hi,
Can you show me through some screenshots how did you configured your Stripe payment method configuration page ?

Last edit: 12 years 8 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

12 years 8 months ago [\#145541](#145541) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#145541 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

Hi Mohamed
Here is a screenshot:
(I have disabled the plugin at the moment as the site is live.)

[ ![ha2be28c.png](/forum/attachment/15553) ](/forum/attachment/15553 "ha2be28c.png")

- [ ![ha2be28c.png](/forum/attachment/15553) ](/forum/attachment/15553 "ha2be28c.png") [ ](/forum/attachment/15553?download=1 "ha2be28c.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

12 years 7 months ago [\#145839](#145839) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#145839 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

A few days ago I added GBP as a currency to *plugins/hikashoppayment/stripe/stripe.php* Perhaps there is something else I should have changed as well?

Trevor

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

12 years 7 months ago [\#145873](#145873) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#145873 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

I removed the change I made to *plugins/hikashoppayment/stripe/stripe.php* and switched the shop over to USD and tried to make a transaction using Swipe but it failed with the same error.

Trevor

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

12 years 7 months ago -  12 years 7 months ago [\#145875](#145875) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#145875 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

Update. . .

I have downloaded and updated to com_hikashop_business_2.3.0_2014-02-26.tar.gz which now has the updated supported currencies but the error still occurs when I try a transaction!

Trevor

Last edit: 12 years 7 months ago by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

12 years 7 months ago [\#146440](#146440) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#146440 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

Still can't get the Stripe payments to work.
Is anyone using this payment method successfully?

Trevor

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#147172](#147172) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#147172 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

Hi,

I think that you have a javascript error in the checkout end page.
Can you please edit the file "plugins/hikashoppayment/stripe/stripe_end.php" and replace Code:

var stripeResponseHandler = function(status, response) { var $form = $("#payment-form"); if (response.error) { alert(response.error.message); $form.find(".payment-errors").text(response.error.message); $form.find("button").prop("disabled", false); } else { var token = response.id; $form.append($("&lt;input type=\'hidden\' name=\'stripeToken\' /&gt;").val(token)); $form.get(0).submit(); } };

By: Code:

var stripeResponseHandler = function(status, response) { var $form = jQuery("#payment-form"); if (response.error) { alert(response.error.message); $form.find(".payment-errors").text(response.error.message); $form.find("button").prop("disabled", false); } else { var token = response.id; $form.append(jQuery("&lt;input type=\'hidden\' name=\'stripeToken\' /&gt;").val(token)); $form.get(0).submit(); } };

The stripe plugin have been validate in a client website but I think that his environment was quite different than yours.

I hope that this modification will fix your problem.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

12 years 7 months ago [\#147181](#147181) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#147181 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

Hi Jerome

Thanks getting back to me.

I have made the changes to stripe_end.php but it returns the same message:

> Error charge : You must supply either a card or a customer id

Trevor

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#147182](#147182) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#147182 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

Hi,

Could you please add the payment method access to my user "jerome@hikashop" so I will be able to test it and see if there are some javascript troubles.
But I really think that the problem is linked to that. The javascript code generate the input hidden "stripeToken" which is read in the payment notification. This value is used for the "card".

So, the problem is around that.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

12 years 7 months ago -  12 years 7 months ago [\#147194](#147194) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#147194 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

Hi Jerome

I have activated the Stripe payment method for you.
btw. Stripe is in test mode.

Trevor

Last edit: 12 years 7 months ago by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#147304](#147304) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#147304 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

Hi,

Please replace Code:

$doc-&gt;addScript('https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js');

By Code:

hikashop_loadJsLib('jquery');

in the stripe_end.php file.

You have some mootools scripts in the page which create javascript errors with jQuery (which is included without noConflict).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile") Topic Author
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

12 years 7 months ago [\#147353](#147353) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#147353 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

Hi Jerome

Thanks for looking into that, it has solved the problem and the payment system is working.

Best regards
Trevor

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#147354](#147354) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Stripe Payments Failing](/forum/29-payment-methods/866148-solved-stripe-payments-failing#147354 "-- url of the page with the problem -- :   www.wendy-brown-art.co.uk  -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.2 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : Error charge : You must supply either a card or a customer id  I am trying to set up Swipe as a payment method but get the following error:  Looking at the log in the Stripe Dashbord it reports:  I am using Stripe in test mode and SSL is installed on the domain.  Regards Trevor")*

Hi,

Good to know.
I will patch the plugin in HikaShop to include these modification.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84NjYxNDgtc29sdmVkLXN0cmlwZS1wYXltZW50cy1mYWlsaW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.565 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
