diff --git a/freemius/templates/checkout.php b/freemius/templates/checkout.php
index <HASH>..<HASH> 100755
--- a/freemius/templates/checkout.php
+++ b/freemius/templates/checkout.php
@@ -224,6 +224,15 @@
 							$slug . '_activate_new') ?>'
 					}, iframe[0]);
 				});
+
+				FS.PostMessage.receiveOnce('get_dimensions', function (data){
+					console.debug('receiveOnce', 'get_dimensions');
+
+					FS.PostMessage.post('dimensions', {
+						height: $(document.body).height(),
+						scrollTop: $(document).scrollTop()
+					}, iframe[0]);
+				});
 			});
 		})(jQuery);
 	</script>
diff --git a/freemius/templates/pricing.php b/freemius/templates/pricing.php
index <HASH>..<HASH> 100755
--- a/freemius/templates/pricing.php
+++ b/freemius/templates/pricing.php
@@ -72,6 +72,13 @@
 							$("#iframe iframe").height(iframe_height + 'px');
 						}
 					});
+
+					FS.PostMessage.receive('get_dimensions', function (data){
+						FS.PostMessage.post('dimensions', {
+							height: $(document.body).height(),
+							scrollTop: $(document).scrollTop()
+						}, iframe[0]);
+					});
 				});
 			})(jQuery);
 		</script>
[pricing] [checkout] Added get_dimensions callback for pricing and checkout, in order to know where to position a message box hosted in the iframe.