Author Topic: VM Stripe Plug-in / One Cart Checkout Failure / You have passed a blank string  (Read 577 times)


  • Beginner
  • *
  • Posts: 1
  • A beginner
  • Skype Name: powerstreamtv
I have run into a strange issue.

When I enable "One Page Checkout", stripe.js produces an error "You have passed a blank string for 'source'", this error does not occur when One Page Checkout is not used.

It would appear that when "One Page Checkout" is enabled, the single page module changes the id's of the checkout form. So the stripe js cant find the right target and passes a blank string, which then causes Stripe to reject the transaction.

I don't know how to fix this.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8693
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
 know nothing about the Stripe plugin but I can never get the Authorise plug (I think its similar - collects card details and passes to the gateway) to work as a single site method and OPC without having a dummy VM std. payment enabled as well but hidden by css so the visitor never sees it

maybe this helps
GJC Web Design
VirtueMart and Joomla Developers - php developers
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
Contact for any VirtueMart or Joomla development & customisation


  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 114
Hi powerstreamtv,

Which Stripe plugin are you using?

Mine is working with or without OPC, and also with other One Page Checkout extensions. Please let me know more so that I can help you!

Kind regards,
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy -

Updated for VM3 and Joomla 3.x! payment plugin for VirtueMart:
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: