I'm trying to use smarty but I want to know how can I convert this php code to smarty code :s, thanks
<?php
include_once("paypalewp.php");
$paypal = new paypalewp();
$paypal->setTempFileDirectory("/tmp");
$paypal->setCertificate("my-pubcert.pem", "my-prvkey.pem");
$paypal->setCertificateID("DFGY7654567");
$paypal->setPayPalCertificate("paypal_cert_pem.txt");
$parameters = array(
"cmd" => "_xclick",
"item_name" => "$item",
"currency_code" => "USD",
);
$encryptedButton = $paypal->encryptButton($parameters);
echo $encryptedButton;
?>
I hope you can help me.