RicardoMartins_PagSeguro - Version 1.0.9

Version Notes

Versão estável.

Os bugs devem ser reportador na área de Issues no github do projeto em https://github.com/r-martins/PagSeguro-Magento-Transparente

Download this release

Release Info

Developer Ricardo Martins
Extension RicardoMartins_PagSeguro
Version 1.0.9
Comparing to
See all releases


Code changes from version 1.0.4 to 1.0.9

app/code/community/RicardoMartins/PagSeguro/Helper/Data.php CHANGED
@@ -136,4 +136,14 @@ class RicardoMartins_PagSeguro_Helper_Data extends Mage_Core_Helper_Abstract
136
 
137
  return Mage::helper('core')->decrypt($token);
138
  }
 
 
 
 
 
 
 
 
 
 
139
  }
136
 
137
  return Mage::helper('core')->decrypt($token);
138
  }
139
+
140
+ /**
141
+ * Verifica se o campo CPF deve ser exibido junto com os dados de pagamento
142
+ * @return bool
143
+ */
144
+ public function isCpfVisible()
145
+ {
146
+ $customer_cpf_attribute = Mage::getStoreConfig('payment/pagseguro/customer_cpf_attribute');
147
+ return empty($customer_cpf_attribute);
148
+ }
149
  }
app/code/community/RicardoMartins/PagSeguro/Helper/Params.php CHANGED
@@ -39,10 +39,7 @@ class RicardoMartins_PagSeguro_Helper_Params extends Mage_Core_Helper_Abstract
39
  {
40
  $digits = new Zend_Filter_Digits();
41
 
42
- /** @var Mage_Customer_Model_Customer $customer */
43
- $customer = Mage::getModel('customer/customer')->load($order->getCustomerId());
44
- $customer_cpf_attribute = Mage::getStoreConfig('payment/pagseguro/customer_cpf_attribute');
45
- $cpf = $customer->getResource()->getAttribute($customer_cpf_attribute)->getFrontend()->getValue($customer);
46
 
47
  //telefone
48
  $phone = $this->_extractPhone($order->getBillingAddress()->getTelephone());
@@ -70,16 +67,11 @@ class RicardoMartins_PagSeguro_Helper_Params extends Mage_Core_Helper_Abstract
70
  {
71
  $digits = new Zend_Filter_Digits();
72
 
73
- /** @var Mage_Customer_Model_Customer $customer */
74
- $customer = Mage::getModel('customer/customer')->load($order->getCustomerId());
75
- $customer_cpf_attribute = Mage::getStoreConfig('payment/pagseguro/customer_cpf_attribute');
76
- $cpf = $customer->getResource()->getAttribute($customer_cpf_attribute)->getFrontend()->getValue($customer);
77
-
78
 
79
- $cpf = $customer->getResource()->getAttribute($customer_cpf_attribute)->getFrontend()->getValue($customer);
80
 
81
  //dados
82
- $creditCardHolderBirthDate = $this->_getCustomerCcDobValue($customer,$payment);
83
  $phone = $this->_extractPhone($order->getBillingAddress()->getTelephone());
84
 
85
 
@@ -142,7 +134,7 @@ class RicardoMartins_PagSeguro_Helper_Params extends Mage_Core_Helper_Abstract
142
  $addressNumber = $this->_getAddressAttributeValue($address,$address_number_attribute);
143
  $addressComplement = $this->_getAddressAttributeValue($address,$address_complement_attribute);
144
  $addressDistrict = $this->_getAddressAttributeValue($address,$address_neighborhood_attribute);
145
- $addressPostalCode = $address->getPostcode();
146
  $addressCity = $address->getCity();
147
  $addressState = $this->getStateCode( $address->getRegion() );
148
 
@@ -326,4 +318,28 @@ class RicardoMartins_PagSeguro_Helper_Params extends Mage_Core_Helper_Abstract
326
 
327
  return date('d/m/Y', strtotime($dob));
328
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
329
  }
39
  {
40
  $digits = new Zend_Filter_Digits();
41
 
42
+ $cpf = $this->_getCustomerCpfValue($order->getCustomer(),$payment);
 
 
 
43
 
44
  //telefone
45
  $phone = $this->_extractPhone($order->getBillingAddress()->getTelephone());
67
  {
68
  $digits = new Zend_Filter_Digits();
69
 
70
+ $cpf = $this->_getCustomerCpfValue($order->getCustomer(),$payment);
 
 
 
 
71
 
 
72
 
73
  //dados
74
+ $creditCardHolderBirthDate = $this->_getCustomerCcDobValue($order->getCustomer(),$payment);
75
  $phone = $this->_extractPhone($order->getBillingAddress()->getTelephone());
76
 
77
 
134
  $addressNumber = $this->_getAddressAttributeValue($address,$address_number_attribute);
135
  $addressComplement = $this->_getAddressAttributeValue($address,$address_complement_attribute);
136
  $addressDistrict = $this->_getAddressAttributeValue($address,$address_neighborhood_attribute);
137
+ $addressPostalCode = $digits->filter($address->getPostcode());
138
  $addressCity = $address->getCity();
139
  $addressState = $this->getStateCode( $address->getRegion() );
140
 
318
 
319
  return date('d/m/Y', strtotime($dob));
320
  }
321
+
322
+ /**
323
+ * Retorna o CPF do cliente baseado na selecao realizada na configuração do modulo
324
+ * @param Mage_Customer_Model_Customer $customer
325
+ * @param Mage_Payment_Model_Method_Abstract $payment
326
+ *
327
+ * @return mixed
328
+ */
329
+ private function _getCustomerCpfValue(Mage_Customer_Model_Customer $customer, $payment)
330
+ {
331
+ $customer_cpf_attribute = Mage::getStoreConfig('payment/pagseguro/customer_cpf_attribute');
332
+
333
+ if(empty($customer_cpf_attribute)) //Soliciado ao cliente junto com os dados do cartao
334
+ {
335
+ if(isset($payment['additional_information'][$payment->getMethod().'_cpf'])){
336
+ return $payment['additional_information'][$payment->getMethod().'_cpf'];
337
+ }
338
+ }
339
+
340
+ $cpf = $customer->getResource()->getAttribute($customer_cpf_attribute)->getFrontend()->getValue($customer);
341
+
342
+ return $cpf;
343
+ }
344
+
345
  }
app/code/community/RicardoMartins/PagSeguro/Model/Abstract.php CHANGED
@@ -27,23 +27,13 @@ class RicardoMartins_PagSeguro_Model_Abstract extends Mage_Payment_Model_Method_
27
  }
28
  if($order->canCancel())
29
  {
30
- $payment->registerRefundNotification(floatval($resultXML->grossAmount));
 
31
  }else{
 
32
  $order->addStatusHistoryComment('Devolvido: o valor foi devolvido ao comprador, mas o pedido encontra-se em um estado que não pode ser cancelado.')
33
  ->save();
34
  }
35
- $order->cancel();
36
- $order->save();
37
- }
38
-
39
- if($processedState->getStateChanged())
40
- {
41
- $order->setState($processedState->getState(),true,$processedState->getIsCustomerNotified())->save();
42
- }
43
-
44
- if((int)$resultXML->status == 3) //Quando o pedido foi dado como Pago
45
- {
46
- $payment->registerCaptureNotification(floatval($resultXML->grossAmount));
47
  }
48
 
49
  if((int)$resultXML->status == 7 && isset($resultXML->cancellationSource)) //Especificamos a fonte do cancelamento do pedido
@@ -57,6 +47,28 @@ class RicardoMartins_PagSeguro_Model_Abstract extends Mage_Payment_Model_Method_
57
  $message .= ' A transação foi negada ou cancelada pela instituição bancária.';
58
  break;
59
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  }
61
 
62
  $order->addStatusHistoryComment($message);
27
  }
28
  if($order->canCancel())
29
  {
30
+ $order->cancel();
31
+ $order->save();
32
  }else{
33
+ $payment->registerRefundNotification(floatval($resultXML->grossAmount));
34
  $order->addStatusHistoryComment('Devolvido: o valor foi devolvido ao comprador, mas o pedido encontra-se em um estado que não pode ser cancelado.')
35
  ->save();
36
  }
 
 
 
 
 
 
 
 
 
 
 
 
37
  }
38
 
39
  if((int)$resultXML->status == 7 && isset($resultXML->cancellationSource)) //Especificamos a fonte do cancelamento do pedido
47
  $message .= ' A transação foi negada ou cancelada pela instituição bancária.';
48
  break;
49
  }
50
+ $order->cancel();
51
+ }
52
+
53
+ if($processedState->getStateChanged())
54
+ {
55
+ $order->setState($processedState->getState(),true,$processedState->getIsCustomerNotified())->save();
56
+ }
57
+
58
+ if((int)$resultXML->status == 3) //Quando o pedido foi dado como Pago
59
+ {
60
+ //cria fatura e envia email (se configurado)
61
+ // $payment->registerCaptureNotification(floatval($resultXML->grossAmount));
62
+ $invoice = $order->prepareInvoice();
63
+ $invoice->register()->pay();
64
+ $msg = sprintf('Pagamento capturado. Identificador da Transação: %s', (string)$resultXML->code);
65
+ $invoice->addComment($msg);
66
+ $invoice->sendEmail(Mage::getStoreConfigFlag('payment/pagseguro/send_invoice_email'),'Pagamento recebido com sucesso.');
67
+ Mage::getModel('core/resource_transaction')
68
+ ->addObject($invoice)
69
+ ->addObject($invoice->getOrder())
70
+ ->save();
71
+ $order->addStatusHistoryComment(sprintf('Fatura #%s criada com sucesso.', $invoice->getIncrementId()));
72
  }
73
 
74
  $order->addStatusHistoryComment($message);
app/code/community/RicardoMartins/PagSeguro/Model/Payment/Cc.php CHANGED
@@ -27,6 +27,11 @@ class RicardoMartins_PagSeguro_Model_Payment_Cc extends RicardoMartins_PagSeguro
27
  ->setCcType($data->getPsCardType())
28
  ->setCcLast4(substr($data->getPsCcNumber(), -4));
29
 
 
 
 
 
 
30
  //data de nascimento
31
  $owner_dob_attribute = Mage::getStoreConfig('payment/pagseguro_cc/owner_dob_attribute');
32
  if(empty($owner_dob_attribute)){// pegar o dob e salvar aí
@@ -58,7 +63,7 @@ class RicardoMartins_PagSeguro_Model_Payment_Cc extends RicardoMartins_PagSeguro
58
 
59
  if(empty($credit_card_token) || empty($sender_hash))
60
  {
61
- Mage::helper('ricardomartins_pagseguro')->writeLog('Falha ao obter o token do cartao ou sender_hash. Veja se os dados "sender_hash" e "credit_card_token" foram enviados no formulário. Um problema de JavaScript pode ter ocorrido.');
62
  Mage::throwException('Falha ao processar pagamento junto ao PagSeguro. Por favor, entre em contato com nossa equipe.');
63
  }
64
  return $this;
27
  ->setCcType($data->getPsCardType())
28
  ->setCcLast4(substr($data->getPsCcNumber(), -4));
29
 
30
+ //cpf
31
+ if(Mage::helper('ricardomartins_pagseguro')->isCpfVisible()) {
32
+ $info->setAdditionalInformation($this->getCode() . '_cpf', $data->getData($this->getCode() . '_cpf'));
33
+ }
34
+
35
  //data de nascimento
36
  $owner_dob_attribute = Mage::getStoreConfig('payment/pagseguro_cc/owner_dob_attribute');
37
  if(empty($owner_dob_attribute)){// pegar o dob e salvar aí
63
 
64
  if(empty($credit_card_token) || empty($sender_hash))
65
  {
66
+ Mage::helper('ricardomartins_pagseguro')->writeLog('Falha ao obter o token do cartao ou sender_hash. Veja se os dados "sender_hash" e "credit_card_token" foram enviados no formulário. Um problema de JavaScript pode ter ocorrido. Se esta for apenas uma atualização de blocos via ajax nao se preocupe.');
67
  Mage::throwException('Falha ao processar pagamento junto ao PagSeguro. Por favor, entre em contato com nossa equipe.');
68
  }
69
  return $this;
app/code/community/RicardoMartins/PagSeguro/Model/Source/Customer/Address/Attributes.php CHANGED
@@ -25,7 +25,7 @@ class RicardoMartins_PagSeguro_Model_Source_Customer_Address_Attributes
25
  $options[] = array('value' => 'street_'.$i, 'label' => 'Street Line '.$i);
26
  }
27
  } else {
28
- $options[] = array('value' => $value['attribute_code'], 'label' => $value['frontend_label']);
29
  }
30
  }
31
  }
25
  $options[] = array('value' => 'street_'.$i, 'label' => 'Street Line '.$i);
26
  }
27
  } else {
28
+ $options[] = array('value' => $value['attribute_code'], 'label' => $value['frontend_label'] . ' (' . $value['attribute_code'] . ')');
29
  }
30
  }
31
  }
app/code/community/RicardoMartins/PagSeguro/Model/Source/Customer/Address/Attributes/Optional.php CHANGED
@@ -26,7 +26,7 @@ class RicardoMartins_PagSeguro_Model_Source_Customer_Address_Attributes_Optional
26
  $options[] = array('value' => 'street_'.$i, 'label' => 'Street Line '.$i);
27
  }
28
  } else {
29
- $options[] = array('value' => $value['attribute_code'], 'label' => $value['frontend_label']);
30
  }
31
  }
32
  }
26
  $options[] = array('value' => 'street_'.$i, 'label' => 'Street Line '.$i);
27
  }
28
  } else {
29
+ $options[] = array('value' => $value['attribute_code'], 'label' => $value['frontend_label']. ' (' . $value['attribute_code'] . ')');
30
  }
31
  }
32
  }
app/code/community/RicardoMartins/PagSeguro/Model/Source/Customer/Attributes.php CHANGED
@@ -13,7 +13,7 @@ class RicardoMartins_PagSeguro_Model_Source_Customer_Attributes
13
 
14
  foreach($fields as $key => $value) {
15
  if(!is_null($value['frontend_label'])) {
16
- $options[$value['frontend_label']] = array('value' => $value['attribute_code'], 'label' => $value['frontend_label']);
17
  }
18
  }
19
 
13
 
14
  foreach($fields as $key => $value) {
15
  if(!is_null($value['frontend_label'])) {
16
+ $options[$value['frontend_label']] = array('value' => $value['attribute_code'], 'label' => $value['frontend_label'] . ' (' . $value['attribute_code'] . ')');
17
  }
18
  }
19
 
app/code/community/RicardoMartins/PagSeguro/Model/Source/Customer/Cpf.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Payment Method Codes
5
+ *
6
+ * @author Ricardo Martins <ricardo@ricardomartins.net.br>
7
+ */
8
+ class RicardoMartins_PagSeguro_Model_Source_Customer_Cpf
9
+ {
10
+ public function toOptionArray() {
11
+ $fields = Mage::helper('ricardomartins_pagseguro/internal')->getFields('customer');
12
+ $options = array();
13
+ $options[] = array('value'=>'','label'=>'Solicitar junto com os outros dados do pagamento');
14
+
15
+ foreach($fields as $key => $value) {
16
+ if(!is_null($value['frontend_label'])) {
17
+ $options[$value['frontend_label']] = array('value' => $value['attribute_code'], 'label' => $value['frontend_label'] . ' (' . $value['attribute_code'] . ')');
18
+ }
19
+ }
20
+
21
+ return $options;
22
+ }
23
+ }
app/code/community/RicardoMartins/PagSeguro/Model/Source/Customer/Dob.php CHANGED
@@ -19,7 +19,7 @@ class RicardoMartins_PagSeguro_Model_Source_Customer_Dob
19
 
20
  foreach($fields as $key => $value) {
21
  if(!is_null($value['frontend_label'])) {
22
- $options[] = array('value' => $value['attribute_code'], 'label' => $value['frontend_label']);
23
  }
24
  }
25
 
19
 
20
  foreach($fields as $key => $value) {
21
  if(!is_null($value['frontend_label'])) {
22
+ $options[] = array('value' => $value['attribute_code'], 'label' => $value['frontend_label'] . ' (' . $value['attribute_code'] . ')');
23
  }
24
  }
25
 
app/code/community/RicardoMartins/PagSeguro/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <RicardoMartins_PagSeguro>
5
- <version>1.0.4</version>
6
  </RicardoMartins_PagSeguro>
7
  </modules>
8
  <global>
@@ -62,6 +62,7 @@
62
  <payment_action>order</payment_action>
63
  <model>ricardomartins_pagseguro/payment_cc</model>
64
  <allowspecific>0</allowspecific>
 
65
  <!--<specificcountry>BR</specificcountry>-->
66
  </pagseguro_cc>
67
  <pagseguro>
2
  <config>
3
  <modules>
4
  <RicardoMartins_PagSeguro>
5
+ <version>1.0.9</version>
6
  </RicardoMartins_PagSeguro>
7
  </modules>
8
  <global>
62
  <payment_action>order</payment_action>
63
  <model>ricardomartins_pagseguro/payment_cc</model>
64
  <allowspecific>0</allowspecific>
65
+ <send_neworder_email>0</send_neworder_email>
66
  <!--<specificcountry>BR</specificcountry>-->
67
  </pagseguro_cc>
68
  <pagseguro>
app/code/community/RicardoMartins/PagSeguro/etc/system.xml CHANGED
@@ -103,15 +103,25 @@
103
  <show_in_store>0</show_in_store>
104
  <comment>Veja a saída de log em var/log/pagseguro.log</comment>
105
  </debug>
 
 
 
 
 
 
 
 
 
 
106
  <customer_cpf_attribute>
107
  <label>CPF do cliente</label>
108
  <frontend_type>select</frontend_type>
109
- <source_model>ricardomartins_pagseguro/source_customer_attributes</source_model>
110
- <sort_order>31</sort_order>
111
  <show_in_default>1</show_in_default>
112
  <show_in_website>1</show_in_website>
113
  <show_in_store>0</show_in_store>
114
- <comment><![CDATA[Caso sua loja utilize um atributo personalizado para o CPF do cliente, selecione aqui.]]></comment>
115
  </customer_cpf_attribute>
116
  <address_street_attribute>
117
  <label>Atributo Rua de entrega</label>
103
  <show_in_store>0</show_in_store>
104
  <comment>Veja a saída de log em var/log/pagseguro.log</comment>
105
  </debug>
106
+ <send_invoice_email>
107
+ <label>Enviar e-mail de fatura?</label>
108
+ <frontend_type>select</frontend_type>
109
+ <source_model>adminhtml/system_config_source_yesno</source_model>
110
+ <sort_order>31</sort_order>
111
+ <show_in_default>1</show_in_default>
112
+ <show_in_website>1</show_in_website>
113
+ <show_in_store>1</show_in_store>
114
+ <comment><![CDATA[Dispara o e-mail de fatura da loja ao receber a confirmação de pagamento do PagSeguro.]]></comment>
115
+ </send_invoice_email>
116
  <customer_cpf_attribute>
117
  <label>CPF do cliente</label>
118
  <frontend_type>select</frontend_type>
119
+ <source_model>ricardomartins_pagseguro/source_customer_cpf</source_model>
120
+ <sort_order>32</sort_order>
121
  <show_in_default>1</show_in_default>
122
  <show_in_website>1</show_in_website>
123
  <show_in_store>0</show_in_store>
124
+ <comment><![CDATA[Caso sua loja utilize um atributo personalizado para o CPF do cliente, selecione aqui. Caso contrário escolha "Solicitar junto com os outros dados do pagamento".]]></comment>
125
  </customer_cpf_attribute>
126
  <address_street_attribute>
127
  <label>Atributo Rua de entrega</label>
app/design/frontend/base/default/template/ricardomartins_pagseguro/form/cc.phtml CHANGED
@@ -22,6 +22,14 @@ $_code=$this->getMethodCode();
22
  <?php echo $_dob->toHtml() ?>
23
  </li>
24
  <?php endif ?>
 
 
 
 
 
 
 
 
25
  <li>
26
  <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
27
  <div class="input-box">
22
  <?php echo $_dob->toHtml() ?>
23
  </li>
24
  <?php endif ?>
25
+ <?php if(Mage::helper('ricardomartins_pagseguro')->isCpfVisible()):?>
26
+ <li id="<?php echo $_code ?>_cpf_div">
27
+ <label for="<?php echo $_code ?>_cpf" class="required"><em>*</em><?php echo $this->__('Credit Card Owner\'s CPF') ?></label>
28
+ <div class="input-box">
29
+ <input type="text" id="<?php echo $_code ?>_cpf" name="payment[<?php echo $_code?>_cpf]" title="<?php echo $this->__('Credit Card Owner\'s CPF') ?>" class="input-text required-entry validate-digits" value=""/>
30
+ </div>
31
+ </li>
32
+ <?php endif ?>
33
  <li>
34
  <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
35
  <div class="input-box">
app/design/frontend/base/default/template/ricardomartins_pagseguro/form/cc/dob.phtml CHANGED
@@ -50,7 +50,7 @@ NOTE: Regarding styles - if we leave it this way, we'll move it to boxes.css
50
  */
51
  ?>
52
  <label for="<?php echo $this->getFieldId('month')?>" class="required"><em>*</em><?php echo $this->__('Date of Birth') ?></label>
53
- <div class="input-box customer-dob">
54
  <?php
55
  $this->setDateInput('d',
56
  '<div class="dob-day">
@@ -82,6 +82,6 @@ NOTE: Regarding styles - if we leave it this way, we'll move it to boxes.css
82
  </div>
83
  <script type="text/javascript">
84
  //<![CDATA[
85
- var customer_dob = new Varien.DOB('.customer-dob', 'true', '<?php echo $this->getDateFormat() ?>');
86
  //]]>
87
  </script>
50
  */
51
  ?>
52
  <label for="<?php echo $this->getFieldId('month')?>" class="required"><em>*</em><?php echo $this->__('Date of Birth') ?></label>
53
+ <div class="input-box customer-dob ps-cc-owner-dob">
54
  <?php
55
  $this->setDateInput('d',
56
  '<div class="dob-day">
82
  </div>
83
  <script type="text/javascript">
84
  //<![CDATA[
85
+ var ps_cc_owner_dob = new Varien.DOB('.ps-cc-owner-dob', 'true', '<?php echo $this->getDateFormat() ?>');
86
  //]]>
87
  </script>
app/locale/pt_BR/RicardoMartins_PagSeguro.csv CHANGED
@@ -47,4 +47,8 @@
47
  "eft bank is required.","Banco para EFT deve ser informado."
48
  "eft bank is not accepted.","Banco não é aceito."
49
  "sender is blocked.","Comprador bloqueado."
50
- "credit card token invalid.","Token de cartão de crédito inválido."
 
 
 
 
47
  "eft bank is required.","Banco para EFT deve ser informado."
48
  "eft bank is not accepted.","Banco não é aceito."
49
  "sender is blocked.","Comprador bloqueado."
50
+ "credit card token invalid.","Token de cartão de crédito inválido."
51
+ "Credit Card Owner's CPF","CPF do Dono do Cartão"
52
+ "Credit Card Number","Número do Cartão"
53
+ "Your CPF","Seu CPF"
54
+ "Send new order email","Enviar e-mail de novo pedido"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>RicardoMartins_PagSeguro</name>
4
- <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
@@ -13,9 +13,9 @@ Os dados do cart&#xE3;o s&#xE3;o enviados para o site do pagseguro de forma segu
13
  &#xD;
14
  Os bugs devem ser reportador na &#xE1;rea de Issues no github do projeto em https://github.com/r-martins/PagSeguro-Magento-Transparente</notes>
15
  <authors><author><name>Ricardo Martins</name><user>MAG001517858</user><email>ricardo@ricardomartins.info</email></author></authors>
16
- <date>2014-07-18</date>
17
- <time>12:37:41</time>
18
- <contents><target name="magecommunity"><dir name="RicardoMartins"><dir name="PagSeguro"><dir name="Block"><dir name="Form"><dir name="Cc"><file name="Dob.php" hash="ed45c9f5576c289897eb5c86a46c6d85"/></dir><file name="Cc.php" hash="3ec300291bfb59a545bfb99a23f2d670"/><file name="Directpayment.php" hash="937273e541d362f353b2bde87c041631"/><dir name="Info"><file name="Cc.php" hash="ef4952bfb9d12dae0b6ce13afeb0d1bb"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="11e27b9bd5bca778377bba7b99d13cf0"/><file name="Internal.php" hash="fbf64a95060a3d2f47ef44bde57a5c70"/><file name="Params.php" hash="fab4af2bba941b46dd19e94669152ffa"/></dir><dir name="Model"><file name="Abstract.php" hash="7ab8bfcabcd409805ec7df0f4b95d855"/><file name="Observer.php" hash="e709c92bc86416ffdcfe2fda5b8a4d37"/><dir name="Payment"><file name="Cc.php" hash="b73df4a160f97380f200d90268de8691"/></dir><dir name="Source"><dir name="Customer"><dir name="Address"><dir name="Attributes"><file name="Optional.php" hash="966a3dd2db773c460c0aba9921da36a0"/></dir><file name="Attributes.php" hash="c51bd60053e598daf9558d717c70d0e2"/></dir><file name="Attributes.php" hash="0e62e095d16e30c358410603197e1328"/><file name="Dob.php" hash="754ae1fbbae1c8ee89100201b59172bf"/></dir><file name="Paymentmethods.php" hash="5ea1877c9f73a6dec6bc91900309a5a5"/></dir></dir><dir name="controllers"><file name="AjaxController.php" hash="9b6c47c1c81e32168c447d3f67faaffd"/><file name="NotificationController.php" hash="47641a62f0d1850ea7711d997bfa1fa5"/><file name="TestController.php" hash="b0d6a8e347b45f3013435a4c2ac4a16b"/></dir><dir name="etc"><file name="config.xml" hash="3a180d72a72cecb186755869f845f336"/><file name="system.xml" hash="77ecc06b086a90c44175b55a54ae9fc0"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="RicardoMartins_PagSeguro.xml" hash="82d8294eccac1fb4047f27566b0c9f2a"/></dir></target><target name="magelocale"><dir name="pt_BR"><file name="RicardoMartins_PagSeguro.csv" hash="6c1504a7d1c8d5f3b4127f36d6459bfa"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="pagseguro"><dir><dir name="selo"><file name="selo01_160x90.gif" hash="e6729bb969abb20588f134f7d29ea0ec"/><file name="selo01_200x60.gif" hash="e91ed131018bae7d9abc2cc1a72f539b"/><file name="selo01_300x60.gif" hash="13b07e35250b30a61c86c98815e3310c"/><file name="selo02_160x90.gif" hash="4e65530d2c42bae4e5fab617a4d0afdf"/><file name="selo02_200x60.gif" hash="ba629a85cef8982423c7679a4875283c"/><file name="selo02_300x60.gif" hash="5827aca40455f22caffee1392917f16c"/><file name="selo03_160x90.gif" hash="e3c69ace0991d7841728c6203fc305bf"/><file name="selo03_200x60.gif" hash="63135b65df64a70629748d66f5c0c453"/><file name="selo03_300x60.gif" hash="e88f1529f2d27d4732cd7c374752618e"/><file name="selo04_160x90.gif" hash="8e71cb1942c15427ba96ac21aacdb9d6"/><file name="selo04_200x60.gif" hash="f08b80b40541e35491a8d966cb420c78"/><file name="selo04_300x60.gif" hash="43f9fc4ad730111654777c26059e9fbf"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="ricardomartins_pagseguro"><dir><dir name="form"><dir name="cc"><file name="dob.phtml" hash="32306fe3702175d3bbc7975c0ca54271"/></dir><file name="cc.phtml" hash="6e0a672021b19acd5c94880d41efeb50"/><file name="directpayment.phtml" hash="e4c2ed8d53d1334f6715f3c6fb638369"/><dir name="info"><file name="cc.phtml" hash="0a3aa78e0775cd51bb7a168b813dd466"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="ricardomartins_pagseguro"><dir><dir name="form"><file name="directpayment.phtml" hash="d7f02da712e3bb310a6f785ebc36e3d3"/><dir name="info"><file name="cc.phtml" hash="0a3aa78e0775cd51bb7a168b813dd466"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="pagseguro"><file name="pagseguro.js" hash="0be6fd340e0be7af5a6f07a280cfc059"/></dir></dir></target></contents>
19
  <compatible/>
20
- <dependencies><required><php><min>5.2.1</min><max>5.5.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>RicardoMartins_PagSeguro</name>
4
+ <version>1.0.9</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
13
  &#xD;
14
  Os bugs devem ser reportador na &#xE1;rea de Issues no github do projeto em https://github.com/r-martins/PagSeguro-Magento-Transparente</notes>
15
  <authors><author><name>Ricardo Martins</name><user>MAG001517858</user><email>ricardo@ricardomartins.info</email></author></authors>
16
+ <date>2014-08-24</date>
17
+ <time>16:38:02</time>
18
+ <contents><target name="magecommunity"><dir name="RicardoMartins"><dir name="PagSeguro"><dir name="Block"><dir name="Form"><dir name="Cc"><file name="Dob.php" hash="ed45c9f5576c289897eb5c86a46c6d85"/></dir><file name="Cc.php" hash="3ec300291bfb59a545bfb99a23f2d670"/><file name="Directpayment.php" hash="937273e541d362f353b2bde87c041631"/><dir name="Info"><file name="Cc.php" hash="ef4952bfb9d12dae0b6ce13afeb0d1bb"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="57cbe8b75ae926b3f2e7561e0f191184"/><file name="Internal.php" hash="fbf64a95060a3d2f47ef44bde57a5c70"/><file name="Params.php" hash="1d6136a6ce7ac3a4131f8867c6d9a656"/></dir><dir name="Model"><file name="Abstract.php" hash="6a0524efae66ed271190d0cbc112cf6f"/><file name="Observer.php" hash="e709c92bc86416ffdcfe2fda5b8a4d37"/><dir name="Payment"><file name="Cc.php" hash="6ddccdedab9b67640949515e3ddad4f4"/></dir><dir name="Source"><dir name="Customer"><dir name="Address"><dir name="Attributes"><file name="Optional.php" hash="f25cdc6fe64c4e815cc9550e1d8f0977"/></dir><file name="Attributes.php" hash="01b0c102f051ec79fcf09feef3c79a63"/></dir><file name="Attributes.php" hash="4632cc4e9a67ef1d2633058def2c2e03"/><file name="Cpf.php" hash="037bd96ec4975c3587295e6bc1c2f43c"/><file name="Dob.php" hash="ec1b44beafb11cd5dc30b8fe1aea2a74"/></dir><file name="Paymentmethods.php" hash="5ea1877c9f73a6dec6bc91900309a5a5"/></dir></dir><dir name="controllers"><file name="AjaxController.php" hash="9b6c47c1c81e32168c447d3f67faaffd"/><file name="NotificationController.php" hash="47641a62f0d1850ea7711d997bfa1fa5"/><file name="TestController.php" hash="b0d6a8e347b45f3013435a4c2ac4a16b"/></dir><dir name="etc"><file name="config.xml" hash="65ec5d798f66e90adeb2b0bef2e63937"/><file name="system.xml" hash="3267009c7a36dd07a1181f47a6283eee"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="RicardoMartins_PagSeguro.xml" hash="82d8294eccac1fb4047f27566b0c9f2a"/></dir></target><target name="magelocale"><dir name="pt_BR"><file name="RicardoMartins_PagSeguro.csv" hash="bc2444ea954caf1b63603c37cfabedff"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="pagseguro"><dir><dir name="selo"><file name="selo01_160x90.gif" hash="e6729bb969abb20588f134f7d29ea0ec"/><file name="selo01_200x60.gif" hash="e91ed131018bae7d9abc2cc1a72f539b"/><file name="selo01_300x60.gif" hash="13b07e35250b30a61c86c98815e3310c"/><file name="selo02_160x90.gif" hash="4e65530d2c42bae4e5fab617a4d0afdf"/><file name="selo02_200x60.gif" hash="ba629a85cef8982423c7679a4875283c"/><file name="selo02_300x60.gif" hash="5827aca40455f22caffee1392917f16c"/><file name="selo03_160x90.gif" hash="e3c69ace0991d7841728c6203fc305bf"/><file name="selo03_200x60.gif" hash="63135b65df64a70629748d66f5c0c453"/><file name="selo03_300x60.gif" hash="e88f1529f2d27d4732cd7c374752618e"/><file name="selo04_160x90.gif" hash="8e71cb1942c15427ba96ac21aacdb9d6"/><file name="selo04_200x60.gif" hash="f08b80b40541e35491a8d966cb420c78"/><file name="selo04_300x60.gif" hash="43f9fc4ad730111654777c26059e9fbf"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="ricardomartins_pagseguro"><dir><dir name="form"><dir name="cc"><file name="dob.phtml" hash="0ea9d4ff767a43d1393ddf1e2882a5da"/></dir><file name="cc.phtml" hash="03068913a3009b836a24d64d2094c983"/><file name="directpayment.phtml" hash="e4c2ed8d53d1334f6715f3c6fb638369"/><dir name="info"><file name="cc.phtml" hash="0a3aa78e0775cd51bb7a168b813dd466"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="ricardomartins_pagseguro"><dir><dir name="form"><file name="directpayment.phtml" hash="d7f02da712e3bb310a6f785ebc36e3d3"/><dir name="info"><file name="cc.phtml" hash="0a3aa78e0775cd51bb7a168b813dd466"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="pagseguro"><file name="pagseguro.js" hash="0be6fd340e0be7af5a6f07a280cfc059"/></dir></dir></target></contents>
19
  <compatible/>
20
+ <dependencies><required><php><min>5.2.1</min><max>5.5.16</max></php></required></dependencies>
21
  </package>