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

powerstreamtv

  • 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: 8173
  • 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 http://www.gjcwebdesign.com
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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

rvbgnu

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 114
    • Puma-IT.ie
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 - https://www.puma-it.ie

Updated for VM3 and Joomla 3.x! Stripe.com payment plugin for VirtueMart: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart