This is my layout XML:
<block type="amazonpayments/pay_button" name="product.info.addtocart.amazonpayments" template="creativestyle/amazonpayments/pay/product/button.phtml" before="-">
<action method="setIdSuffix"><value>product</value></action>
<action method="setEnableOr"><value>1</value></action>
<action method="setIsProductButton"><value>1</value></action>
</block>
I used this code in my template file but I think the parameters (like setIdSuffix) are missing:
echo $this->getLayout()->createBlock('amazonpayments/pay_button')->setTemplate('creativestyle/amazonpayments/pay/product/button.phtml')->toHtml();
This gives no errors but the corresponding button is not shown either. Any ideas what might be wrong?
Magento 1.9
Thanks