- Posts: 306
- Thank you received: 42
[SOLVED] Stripe Payments Failing
-- 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:Error charge : You must supply either a card or a customer id
I am using Stripe in test mode and SSL is installed on the domain.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"
}
Regards
Trevor
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you show me through some screenshots how did you configured your Stripe payment method configuration page ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Trevor
Please Log in or Create an account to join the conversation.
Trevor
Please Log in or Create an account to join the conversation.
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
Please Log in or Create an account to join the conversation.
Is anyone using this payment method successfully?
Trevor
Please Log in or Create an account to join the conversation.
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
I hope that this modification will fix your problem.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
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 or Create an account to join the conversation.
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 & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I have activated the Stripe payment method for you.
btw. Stripe is in test mode.
Trevor
Please Log in or Create an account to join the conversation.
Please replace
You have some mootools scripts in the page which create javascript errors with jQuery (which is included without noConflict).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Thanks for looking into that, it has solved the problem and the payment system is working.
Best regards
Trevor
Please Log in or Create an account to join the conversation.
Good to know.
I will patch the plugin in HikaShop to include these modification.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.