0

I have a billing form for plans/subscriptions that are not free.

However, when trying to submit the form with empty credit card number, it processes the form as valid and subscribes the user.

Is this the default behaviour? If not, are there options to prevent this? Or do I need to implement my own hook for it?

2
  • 1
    I think its related with some gateways doesn't requiere CC info recollected before the actual payment (usually for offsite payments). What gateway are you using? Also check help.electricfunction.com I remember seeing very similar question already – Davor Peic Jul 15 '13 at 12:58
  • @DavorPeic Ok. Please put your comment as an answer so I can resolve this question. – developarvin Jul 25 '13 at 7:17
2

I think its related with some gateways doesn't requiere CC info recollected before the actual payment (usually for offsite payments). What gateway are you using? Also check help.electricfunction.com I remember seeing very similar question already

2

Davor is right, it looks like this question is very similar. It notes a bug and an update to eWay and Stripe payment gateway code for Membrr.

That said, you might also consider using some client side form validation to avoid the form being submitted at all without the CC# field being validated. On our site we use the jQuery validation plug-in. If you want to see it in action on our site you can see it here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.