Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Como pasar este codigo php a smarty?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Spanish
View previous topic :: View next topic  
Author Message
ojitos
Smarty n00b


Joined: 28 Mar 2012
Posts: 1

PostPosted: Wed Mar 28, 2012 8:35 pm    Post subject: Como pasar este codigo php a smarty? Reply with quote

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
View user's profile Send private message Send e-mail
peprv
Smarty n00b


Joined: 25 Oct 2012
Posts: 1

PostPosted: Thu Oct 25, 2012 8:24 am    Post subject: Reply with quote

La respuesta llega tarde, pero más vale tarde que nunca Wink

No lo he probado, pero creo que con el tag de smarty {php} código {/php} debería funcionarte.

MUMU
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Spanish All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP