|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
ojitos Smarty n00b
Joined: 28 Mar 2012 Posts: 1
|
Posted: Wed Mar 28, 2012 8:35 pm Post subject: Como pasar este codigo php a smarty? |
|
|
Como pasar este codigo php a smarty?
Code: | <?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;
?> |
|
|
Back to top |
|
peprv Smarty n00b
Joined: 25 Oct 2012 Posts: 1
|
Posted: Thu Oct 25, 2012 8:24 am Post subject: |
|
|
La respuesta llega tarde, pero más vale tarde que nunca
No lo he probado, pero creo que con el tag de smarty {php} código {/php} debería funcionarte.
MUMU |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|