Payflex Widgets Prod

Payflex offers merchants a number of helpful & informative widgets, which display more information about the product to site customers. The widgets are really easy to load onto the relevant pages, and should be able to completed by most merchant site admins.

If you are having any issues implementing these on your site, please contact

Simple Usage - Calculator / More Info

Simply insert a <script> tag, as defined below, onto the part of the page that is the right place for this to be displayed.

Base Url :


Name Description
min Your minimum Payflex amount
max Your maximum Payflex amount
amount The order or cart amount


(*item / cart worth R300)

<script async src="" type="application/javascript"></script>


When using this widget on WooCommerce, you can pass the following values for the amount parameters.


WooCommerce Page Value
Cart WC()->cart->cart_contents_total;
Product WC()->product-> get_price();

i.e (product page). <script async src="<?php echo $product->get_price(); ?>" type="application/javascript"></script>