Title: Shoptutor's Replies | WordPress.org

---

# Shoptutor

  [  ](https://wordpress.org/support/users/shoptutor/)

 *   [Profile](https://wordpress.org/support/users/shoptutor/)
 *   [Topics Started](https://wordpress.org/support/users/shoptutor/topics/)
 *   [Replies Created](https://wordpress.org/support/users/shoptutor/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/shoptutor/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/shoptutor/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/shoptutor/engagements/)
 *   [Favorites](https://wordpress.org/support/users/shoptutor/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cooked - Recipe Management] importing cooked pro recipe from another blog](https://wordpress.org/support/topic/importing-cooked-pro-recipe-from-another-blog/)
 *  [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/importing-cooked-pro-recipe-from-another-blog/#post-14048814)
 * Having the same issue here, anyone knows what to do?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Checkout Transparente do PayPal] Não permite colocar dados do cartão](https://wordpress.org/support/topic/nao-permite-colocar-dados-do-cartao/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/nao-permite-colocar-dados-do-cartao/#post-9421781)
 * Consegui ativar novamente o plugin, e agora ele liberou o campo para colocar 
   os dados do cartão, porém após eu preencher tudo deu este erro:
    “Ocorreu um 
   erro inesperado, por favor tente novamente. Se o erro persistir entre em contato”
 * No Console apareceu esta mensagem abaixo:
    (troquei as informações sensíveis)
 *     ```
       JQMIGRATE: Migrate is installed, version 1.4.1
       ppplusdcc.min.js?ver=1.0.0:34 
   
       INTERNAL-LOG: validateConfigAndReportErrors: {"approvalUrl":"https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-01234566789123456","placeholder":"wc-ppp-brasil-container","mode":"live","payerFirstName":"MeuNome","payerLastName":"MeuSobrenome","payerPhone":"55 55555555","payerTaxId":"01123456789","payerTaxIdType":"BR_CPF","language":"pt_BR","country":"BR","payerEmail":"meuemail@gmail.com.br","rememberedCards":""}
       ppplusdcc.min.js?ver=1.0.0:34 
       INTERNAL-LOG: validationResult: {"error":null,"value":{"placeholder":"wc-ppp-brasil-container","approvalUrl":"https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-01234566789123456","mode":"live","buttonLocation":"inside","preselection":"paypal","language":"pt_BR","country":"BR","disallowRememberedCards":false,"rememberedCards":"","payerEmail":"meuemail@gmail.com.br","payerPhone":"55 55555555","payerFirstName":"MeuNome","payerLastName":"MeuSobrenome","payerTaxId":"01123456789","payerTaxIdType":"BR_CPF","iframeHeight":"","useraction":"continue","surcharging":false,"thirdPartyPaymentMethods":[],"hideAmount":false,"miniBrowser":false,"merchantInstallmentSelection":0,"hideMxDebitCards":false,"merchantInstallmentSelectionOptional":false},"warnings":null}
       ppplusdcc.min.js?ver=1.0.0:34 INTERNAL-LOG: mode: live
       ```
   
 * Deseja alguma outra informação dos logs do Plugin? Estou com o modo de depuração
   ativado.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Checkout Transparente do PayPal] Não permite colocar dados do cartão](https://wordpress.org/support/topic/nao-permite-colocar-dados-do-cartao/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/nao-permite-colocar-dados-do-cartao/#post-9421745)
 * Atualizei e ele me deu esse erro aqui:
 * O plugin woocommerce-module-master/paypal-plus-brasil.php foi desativado devido
   a um erro: O arquivo do plugin não existe.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Checkout Transparente do PayPal] Não permite colocar dados do cartão](https://wordpress.org/support/topic/nao-permite-colocar-dados-do-cartao/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/nao-permite-colocar-dados-do-cartao/#post-9409432)
 * Olá, estou usando o plugin: [https://br.wordpress.org/plugins/woocommerce-extra-checkout-fields-for-brazil/](https://br.wordpress.org/plugins/woocommerce-extra-checkout-fields-for-brazil/)
 * Atualmente a configuração é a seguinte
    Exibir Tipo de Pessoa: Pessoa Física 
   Apenas Exibir RG: Marcado Todas as demais opções estão desmarcadas.
 * Tem alguma combinação de preenchimento específica que deseja que eu teste?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Checkout Transparente do PayPal] Não permite colocar dados do cartão](https://wordpress.org/support/topic/nao-permite-colocar-dados-do-cartao/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/nao-permite-colocar-dados-do-cartao/#post-9396272)
 * Opa, respondi o email da notificação, achei que iria ser entregue.
 * O endereço do site é o [https://materialheypeppers.com.br](https://materialheypeppers.com.br)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Checkout Transparente do PayPal] Não permite colocar dados do cartão](https://wordpress.org/support/topic/nao-permite-colocar-dados-do-cartao/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/nao-permite-colocar-dados-do-cartao/#post-9382202)
 * Está configurado para usar somente Pessoa Física.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Claudio Sanches - PagSeguro for WooCommerce] Descrição do carrinho sem o nome do produto no pagseguro](https://wordpress.org/support/topic/descricao-do-carrinho-sem-o-nome-do-produto-no-pagseguro/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/descricao-do-carrinho-sem-o-nome-do-produto-no-pagseguro/#post-8803339)
 * Na mosca, estava marcado.
    Valeu, abraço.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] "Order by" inside shortcode is allllmost there](https://wordpress.org/support/topic/order-by-inside-shortcode-is-allllmost-there/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/order-by-inside-shortcode-is-allllmost-there/#post-5847712)
 * Awesome, thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] "Order by" inside shortcode is allllmost there](https://wordpress.org/support/topic/order-by-inside-shortcode-is-allllmost-there/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/order-by-inside-shortcode-is-allllmost-there/#post-5847695)
 * That is awesome Josh, is this kind of help that are making me happy to had chosen
   pods. 🙂
 * The only thing is that I’m not sure where to put this code, since I’m using the
   shortcode inside the post editor.
 * Thanks again, best.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Load More – Infinite Scroll, Load More, & Lazy Load] Change parameters](https://wordpress.org/support/topic/change-parameters/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/change-parameters/#post-5609737)
 * yep, that’s what I meant.
    and since I now nothing about Jquery, I’ll continue
   to search for another plugin.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Insert records into pods using php](https://wordpress.org/support/topic/insert-records-into-pods-using-php/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/insert-records-into-pods-using-php/#post-5797370)
 * I sanitized everything, and had just compared the data from the last pod saved
   with the one that made the error, and there is no diference.
 * So I guess its not a data sanitization issue.
 * any other ideas?
 * Is it possible that it is crashing at save becouse it is getting to much data?
   
   It creashes always near the row 200, never before 150. The data I’m inserting
   is something like this:
 *     ```
       array(39) {
       ["name"]=> string(12) "Mini systems"
       ["description"]=> string(70) "Mini System LG - CM2730 160W, Bluetooth, USB, MP3, Cd e Rádio - Preto"
       ["comment_status"]=> string(4) "open"
       ["ping_status"]=> string(6) "closed"
       ["post_status"]=> string(7) "publish"
       ["post_content"]=> string(70) "Mini System LG - CM2730 160W, Bluetooth, USB, MP3, Cd e Rádio - Preto"
       ["post_excerpt"]=> string(12) "Mini systems"
       ["post_category"]=> string(2) "TV"
       ["category"]=> string(2) "TV"
       ["post_name"]=> string(12) "Mini systems"
       ["post_title"]=> string(12) "Mini systems"
       ["post_author"]=> int(2)
       ["post_date"]=> string(25) "2015-02-23T08:53:38+01:00"
       ["latest_update"]=> string(19) "2015-02-25 02:24:48"
       ["session"]=> string(2) "TV"
       ["saleavailability"]=> string(1) "1"
       ["featureavailability"]=> string(1) "0"
       ["sessioncheck"]=> string(1) "0"
       ["expected_margin"]=> int(49)
       ["affiliatesystem"]=> string(5) "Zanox"
       ["productitemid"]=> string(32) "cc36e3a5fe178746637124c5936639fb"
       ["productitem_name"]=> string(12) "Mini systems"
       ["date_modified_text"]=> string(25) "2015-02-23T08:53:38+01:00"
       ["date_modified"]=> string(25) "2015-02-23T08:53:38+01:00"
       ["idprogram"]=> int(12011)
       ["program_name"]=> string(7) "Walmart"
       ["price"]=> int(899)
       ["currency"]=> string(3) "BRL"
       ["trackinglink_adspaceid"]=> int(2034022)
       ["trackinglink_ppv"]=> string(218) "http://ad.zanox.com/ppv/?30105432C89279541&ULP=Eletronicos/Mini-systems/LG/415012-Mini-System-LG-CM2730-160W-Preto?utm_source=zanox&utm_medium=xml_Zanox&utm_campaign=Zanox&zpar9=4209ECD457683232DBD9"
       ["trackinglink_ppc"]=> string(218) "http://ad.zanox.com/ppc/?30105432C89279541&ULP=Eletronicos/Mini-systems/LG/415012-Mini-System-LG-CM2730-160W-Preto?utm_source=zanox&utm_medium=xml_Zanox&utm_campaign=Zanox&zpar9=4209ECD457683232DBD9"
       ["descriptionlong"]=> string(0) ""
       ["manufacturer"]=> string(2) "LG"
       ["ean"]=> int(7893299527609)
       ["image_url"]=> string(66) "http://static.wmobjects.com.br/imgres/arquivos/ids/2748054-250-250"
       ["merchantcategory"]=> string(12) "Eletrônicos"
       ["merchantproductid"]=> string(6) "415012"
       ["merchantlogo"]=> string(110) "https://upload.wikimedia.org/wikipedia/commons/thumb/7/76/New_Walmart_Logo.svg/1280px-New_Walmart_Logo.svg.png"
       ["manufacturer_model"]=> string(0) "" }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Insert records into pods using php](https://wordpress.org/support/topic/insert-records-into-pods-using-php/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/insert-records-into-pods-using-php/#post-5797368)
 * Another thing is that it never crashes on the fists saving loops. Always after
   inserting 200 and something…
 * Any ideas?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Insert records into pods using php](https://wordpress.org/support/topic/insert-records-into-pods-using-php/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/insert-records-into-pods-using-php/#post-5797365)
 * Hello, I’m back on this…
 * Sometimes, after several loops saving data, It is crashing during inserts, so
   I had performed some tests and figured that it is crashing during the:
 * `$mypod->save( $data, null, $id );`
 * Reading the [pod’s save page](http://pods.io/docs/code/pods/save/) I read the
   following.
 * “**IMPORTANT: This example skips data sanitization and validation for the sake
   of simplicity to explain a concept. Do not use as is, always sanitize data from
   a form.**“
 * So I thought that may be something in the data.
    What kind of sanitization do
   you talk about there? where I can find more info about it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Insert records into pods using php](https://wordpress.org/support/topic/insert-records-into-pods-using-php/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/insert-records-into-pods-using-php/#post-5797332)
 * Awesomee!!!
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pods - Custom Content Types and Fields] Insert records into pods using php](https://wordpress.org/support/topic/insert-records-into-pods-using-php/)
 *  Thread Starter [Shoptutor](https://wordpress.org/support/users/shoptutor/)
 * (@shoptutor)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/insert-records-into-pods-using-php/#post-5797307)
 * Yep, it worked here,
 * I’m just not sure how to make it work the check for existing records.
 * What I got so far is:
 *     ```
       $pod_data_array = array(
       			'name' => $record_title,
       			'productitemid' => $record_productitemid, //This is an unique field
       			'productitem_name' => $record_productitem_name,
       			'date_modified_text' => $record_date_modified,
       			'date_modified' => $record_date_modified,
       			'description' => $record_description,
       			'descriptionlong' => $record_descriptionlong,
       			'manufacturer' => $record_manufacturer,
       			'ean' => $record_ean //This is also an unique field
       			); 
   
       $mypod = pods( 'ofertas' );
       //Before Save I should check if there is an record inside my pod, with the same 'ean' as this new record I got here.
   
       $mypod_id = $mypod->save( $pod_data_array );
   
       echo 'Record nº' . $record_queue_number . 'saved!';
       ```
   

Viewing 15 replies - 1 through 15 (of 15 total)