This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* PagSeguro Transparente Magento | |
* Helper Class - responsible for helping on gathering config information | |
* | |
* @category RicardoMartins | |
* @package RicardoMartins_PagSeguro | |
* @author Ricardo Martins | |
* @copyright Copyright (c) 2015 Ricardo Martins (http://r-martins.github.io/PagSeguro-Magento-Transparente/) | |
* @license https://opensource.org/licenses/MIT MIT License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Csp:etc/csp_whitelist.xsd"> | |
<policies> | |
<policy id="script-src"> | |
<values> | |
<value id="pagseguro-static" type="host">https://stc.pagseguro.uol.com.br</value> | |
<value id="pagseguro-static-sandbox" type="host">https://sandbox.stc.pagseguro.uol.com.br</value> | |
</values> | |
</policy> | |
<policy id="frame-src"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"transaction_id":"F3BAF8D0-5E50-4DF6-A2BF-F71BFFD1CA7C", | |
"sender_hash":"53dea26365b88a7204b99b90ef091688f7c3bbdf1583dc8a680dc779b71997f8", | |
"credit_card_token":"e2ae0986e8ed49dfb2c0aa4d3b94ea6b", | |
"credit_card_owner":"Ricardo Martins", | |
"rm_pagseguro_cc_cpf":"01234567890", | |
"credit_card_owner_birthdate":"10\/07\/1990", | |
"installment_quantity":2, | |
"installment_value":"5.27", | |
"method_title":"Cart\u00e3o de Cr\u00e9dito via PagSeguro UOL", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*region extending cards and card types from jqueryPayment to support new types*/ | |
const typesPagBank = [ | |
{ | |
title: 'MasterCard', | |
type: 'mastercard', | |
pattern: '^(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$', | |
gaps: [4, 8, 12], | |
lengths: [16], | |
code: { | |
name: 'CVC', |
OlderNewer