VirtueMart Forum

VirtueMart 2 + 3 => Plugins: Payment, Shipment and others => Topic started by: powerstreamtv on December 15, 2017, 14:40:16 pm

Title: VM Stripe Plug-in / One Cart Checkout Failure / You have passed a blank string
Post by: powerstreamtv on December 15, 2017, 14:40:16 pm
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.
Title: Re: VM Stripe Plug-in / One Cart Checkout Failure / You have passed a blank string
Post by: GJC Web Design on December 16, 2017, 19:19:31 pm
 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
Title: Re: VM Stripe Plug-in / One Cart Checkout Failure / You have passed a blank string
Post by: rvbgnu on January 13, 2018, 01:14:36 am
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,