Documentation You are here: start » v » 0.7.2 » checkout

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
v:0.7.2:checkout [2012/01/03 22:35] – typo 216.14.13.50v:0.7.2:checkout [2017/04/26 07:02] (current) – external edit 127.0.0.1
Line 190: Line 190:
  
 This type of setup can be expanded to show and hide error messages similar to how FoxyCart does with the default fields also. This type of setup can be expanded to show and hide error messages similar to how FoxyCart does with the default fields also.
 +
 +<wrap hi>Make sure that you're setting ''isValid'' to both true and false within your logic. If you just set it to false then the checkout will go nowhere.</wrap>
  
 ===== Customising which Credit Card types are allowed on your Checkout ===== ===== Customising which Credit Card types are allowed on your Checkout =====
Line 203: Line 205:
   FC.checkout.config.validPaymentCards = ["mastercard","visa"];   FC.checkout.config.validPaymentCards = ["mastercard","visa"];
 </script></code> </script></code>
 +
 +You'll also need to update the "pay with credit card" checkout language string in your FoxyCart admin under the language settings.
 ===== Other Checkout Actions ===== ===== Other Checkout Actions =====
 The checkout is primarily used to pay for new purchases, but there are certain other situations that arise that are still handled through the checkout. It's important to understand when your checkout can be used for other purposes so you can design and style accordingly. The checkout is primarily used to pay for new purchases, but there are certain other situations that arise that are still handled through the checkout. It's important to understand when your checkout can be used for other purposes so you can design and style accordingly.

Site Tools