diff --git a/src/Form/FoxyStripePurchaseForm.php b/src/Form/FoxyStripePurchaseForm.php index 501dc3f..3e9465f 100644 --- a/src/Form/FoxyStripePurchaseForm.php +++ b/src/Form/FoxyStripePurchaseForm.php @@ -178,9 +178,9 @@ protected function getProductFields(FieldList $fields) HiddenField::create(ProductPage::getGeneratedValue( $code, 'image', - $this->product->PreviewImage()->PaddedImage(80, 80)->absoluteURL + $this->product->PreviewImage()->Pad(80, 80)->absoluteURL )) - ->setValue($this->product->PreviewImage()->PaddedImage(80, 80)->absoluteURL) + ->setValue($this->product->PreviewImage()->Pad(80, 80)->absoluteURL) ); } diff --git a/src/Model/foxycart.cart_validation.php b/src/Model/foxycart.cart_validation.php index c913479..a796471 100755 --- a/src/Model/foxycart.cart_validation.php +++ b/src/Model/foxycart.cart_validation.php @@ -1,4 +1,7 @@