85 |
86 |
87 | EXML;
88 |
89 | // Send the response
90 | return $this->getResponse()
91 | ->clearHeaders()
92 | ->setHeader('Content-Type', 'text/xml')
93 | ->setBody($xmlResponse);
94 | }
95 | }
--------------------------------------------------------------------------------
/app/code/community/Gene/Braintree/etc/adminhtml.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Allow Everything
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | Braintree Transactions
16 | 100
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | 11
33 | Braintree Transactions
34 | adminhtml/braintree/transactions
35 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/app/code/community/Gene/Braintree/etc/jstranslator.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Card Number
5 |
6 |
7 | Expiry Month
8 |
9 |
10 | Expiry Year
11 |
12 |
13 | CVV
14 |
15 |
16 | is invalid.
17 |
18 |
19 | There are a number of errors present with the credit card form:
20 |
21 |
22 | Your payment has failed 3D secure verification, please try an alternate payment method.
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/app/code/community/Gene/Braintree/sql/gene_braintree_setup/install-0.1.0.php:
--------------------------------------------------------------------------------
1 | startSetup();
6 |
7 | $entityTypeId = $installer->getEntityTypeId('customer');
8 | $attributeSetId = $installer->getDefaultAttributeSetId($entityTypeId);
9 | $attributeGroupId = $installer->getDefaultAttributeGroupId($entityTypeId, $attributeSetId);
10 |
11 | // Add in a new attribute for the braintree's customer ID
12 | // This is generated and stored Magento side and is used for stored details
13 | $installer->addAttribute('customer', 'braintree_customer_id', array(
14 | 'input' => 'text',
15 | 'type' => 'varchar',
16 | 'label' => 'Generated Braintree Customer Account ID',
17 | 'visible' => 0,
18 | 'required' => 0,
19 | 'user_defined' => 1,
20 | ));
21 |
22 | // Add the attribute into the group
23 | $installer->addAttributeToGroup(
24 | $entityTypeId,
25 | $attributeSetId,
26 | $attributeGroupId,
27 | 'braintree_customer_id',
28 | '999'
29 | );
30 |
31 | $installer->endSetup();
--------------------------------------------------------------------------------
/app/code/community/Gene/Braintree/sql/gene_braintree_setup/upgrade-1.0.5.4-2.0.0.php:
--------------------------------------------------------------------------------
1 | startSetup();
6 |
7 | // The config paths that need to be transferred to sandbox
8 | $transferConfig = array(
9 | Gene_Braintree_Model_Wrapper_Braintree::BRAINTREE_MERCHANT_ACCOUNT_ID_PATH => Gene_Braintree_Model_Wrapper_Braintree::BRAINTREE_SANDBOX_MERCHANT_ACCOUNT_ID_PATH,
10 | Gene_Braintree_Model_Wrapper_Braintree::BRAINTREE_PUBLIC_KEY_PATH => Gene_Braintree_Model_Wrapper_Braintree::BRAINTREE_SANDBOX_PUBLIC_KEY_PATH,
11 | Gene_Braintree_Model_Wrapper_Braintree::BRAINTREE_PRIVATE_KEY_PATH => Gene_Braintree_Model_Wrapper_Braintree::BRAINTREE_SANDBOX_PRIVATE_KEY_PATH,
12 | Gene_Braintree_Model_Wrapper_Braintree::BRAINTREE_MERCHANT_ID_PATH => Gene_Braintree_Model_Wrapper_Braintree::BRAINTREE_SANDBOX_MERCHANT_ID_PATH
13 | );
14 |
15 | // Update values on the default scope
16 | if ($this->getStoreConfig(Gene_Braintree_Model_Wrapper_Braintree::BRAINTREE_ENVIRONMENT_PATH) == 'sandbox') {
17 |
18 | // Transfer the settings into the new sandbox fields
19 | foreach ($transferConfig as $productionPath => $sandboxPath) {
20 | Mage::getConfig()->saveConfig(
21 | $sandboxPath,
22 | $this->getStoreConfig($productionPath),
23 | 'default',
24 | 0
25 | );
26 | }
27 |
28 | // Move anyone using the default integration over to Hosted Fields
29 | if ($this->getStoreConfig(Gene_Braintree_Model_Source_Creditcard_FormIntegration::INTEGRATION_ACTION_XML_PATH) == Gene_Braintree_Model_Source_Creditcard_FormIntegration::INTEGRATION_DEFAULT) {
30 | Mage::getConfig()->saveConfig(
31 | Gene_Braintree_Model_Source_Creditcard_FormIntegration::INTEGRATION_ACTION_XML_PATH,
32 | Gene_Braintree_Model_Source_Creditcard_FormIntegration::INTEGRATION_HOSTED,
33 | 'default',
34 | 0
35 | );
36 | }
37 | }
38 |
39 | // Loop through the stores and ensure they're all up to date
40 | $stores = Mage::getModel('core/store')->getCollection();
41 | foreach ($stores as $store) {
42 |
43 | // Check to see if this store is in sandbox mode
44 | if ($this->getStoreConfig(Gene_Braintree_Model_Wrapper_Braintree::BRAINTREE_ENVIRONMENT_PATH, $store) == 'sandbox') {
45 |
46 | // Transfer the settings into the new sandbox fields
47 | foreach ($transferConfig as $productionPath => $sandboxPath) {
48 |
49 | // Only update those values which aren't inheriting correctly from default
50 | if ($this->getStoreConfig($sandboxPath, $store) != $this->getStoreConfig($productionPath, $store)) {
51 | Mage::getConfig()->saveConfig(
52 | $sandboxPath,
53 | $this->getStoreConfig($productionPath, $store),
54 | 'stores',
55 | $store->getId()
56 | );
57 | }
58 | }
59 | }
60 |
61 | // Move anyone using the default integration over to Hosted Fields
62 | if ($this->getStoreConfig(Gene_Braintree_Model_Source_Creditcard_FormIntegration::INTEGRATION_ACTION_XML_PATH, $store) == Gene_Braintree_Model_Source_Creditcard_FormIntegration::INTEGRATION_DEFAULT) {
63 | Mage::getConfig()->saveConfig(
64 | Gene_Braintree_Model_Source_Creditcard_FormIntegration::INTEGRATION_ACTION_XML_PATH,
65 | Gene_Braintree_Model_Source_Creditcard_FormIntegration::INTEGRATION_HOSTED,
66 | 'stores',
67 | $store->getId()
68 | );
69 | }
70 | }
71 |
72 | // Clean the cache
73 | Mage::getConfig()->cleanCache();
74 |
75 | $installer->endSetup();
--------------------------------------------------------------------------------
/app/code/community/Gene/Braintree/sql/gene_braintree_setup/upgrade-2.0.0-2.0.1.php:
--------------------------------------------------------------------------------
1 | startSetup();
6 |
7 | // Update the white list for AnattaDesign Awesome Checkout
8 | if (Mage::helper('core')->isModuleEnabled('AnattaDesign_AwesomeCheckout')) {
9 | $whiteListConfigXmlPath = 'awesomecheckout/advanced/whitelisted_css_js';
10 | $whiteList = array(
11 | 'gene/braintree/vzero-0.7-min.js',
12 | 'gene/braintree/vzero-0.7.js',
13 | 'css/gene/braintree/awesomecheckout.css'
14 | );
15 |
16 | // Update values on the default scope
17 | if ($currentWhiteList = $this->getStoreConfig($whiteListConfigXmlPath)) {
18 | $currentWhiteListArray = explode("\n", $currentWhiteList);
19 | if (is_array($currentWhiteListArray) && count($currentWhiteListArray) > 0) {
20 | $whiteList = array_merge($currentWhiteListArray, $whiteList);
21 | }
22 | }
23 |
24 | // Save the new default config values
25 | Mage::getConfig()->saveConfig(
26 | $whiteListConfigXmlPath,
27 | implode("\n", $whiteList),
28 | 'default',
29 | 0
30 | );
31 |
32 | // Loop through the stores and ensure they're all up to date
33 | $stores = Mage::getModel('core/store')->getCollection();
34 | foreach ($stores as $store) {
35 |
36 | // Update values on the default scope
37 | if ($currentWhiteList = $this->getStoreConfig($whiteListConfigXmlPath, $store)) {
38 | $currentWhiteListArray = explode("\n", $currentWhiteList);
39 | if (is_array($currentWhiteListArray) && count($currentWhiteListArray) > 0) {
40 | $whiteList = array_merge($currentWhiteListArray, $whiteList);
41 | }
42 | }
43 |
44 | // Save the new default config values
45 | Mage::getConfig()->saveConfig(
46 | $whiteListConfigXmlPath,
47 | implode("\n", $whiteList),
48 | 'stores',
49 | $store->getId()
50 | );
51 | }
52 |
53 | // Clean the cache
54 | Mage::getConfig()->cleanCache();
55 | }
56 |
57 | $installer->endSetup();
--------------------------------------------------------------------------------
/app/code/community/Gene/Braintree/sql/gene_braintree_setup/upgrade-2.0.4-2.1.0.php:
--------------------------------------------------------------------------------
1 | startSetup();
6 |
7 | // Update the white list for AnattaDesign Awesome Checkout
8 | if (Mage::helper('core')->isModuleEnabled('AnattaDesign_AwesomeCheckout')) {
9 | $whiteListConfigXmlPath = 'awesomecheckout/advanced/whitelisted_css_js';
10 | $whiteList = array(
11 | 'gene/braintree/vzero-min.js',
12 | 'gene/braintree/vzero-paypal-min.js',
13 | 'gene/braintree/vzero-integration-min.js',
14 | 'css/gene/braintree/awesomecheckout.css'
15 | );
16 |
17 | // Update values on the default scope
18 | if ($currentWhiteList = $this->getStoreConfig($whiteListConfigXmlPath)) {
19 | $currentWhiteListArray = explode("\n", $currentWhiteList);
20 | if (is_array($currentWhiteListArray) && count($currentWhiteListArray) > 0) {
21 | $whiteList = array_merge($currentWhiteListArray, $whiteList);
22 | }
23 | }
24 |
25 | // Save the new default config values
26 | Mage::getConfig()->saveConfig(
27 | $whiteListConfigXmlPath,
28 | implode("\n", $whiteList),
29 | 'default',
30 | 0
31 | );
32 |
33 | // Loop through the stores and ensure they're all up to date
34 | $stores = Mage::getModel('core/store')->getCollection();
35 | foreach ($stores as $store) {
36 |
37 | // Update values on the default scope
38 | if ($currentWhiteList = $this->getStoreConfig($whiteListConfigXmlPath, $store)) {
39 | $currentWhiteListArray = explode("\n", $currentWhiteList);
40 | if (is_array($currentWhiteListArray) && count($currentWhiteListArray) > 0) {
41 | $whiteList = array_merge($currentWhiteListArray, $whiteList);
42 | }
43 | }
44 |
45 | // Save the new default config values
46 | Mage::getConfig()->saveConfig(
47 | $whiteListConfigXmlPath,
48 | implode("\n", $whiteList),
49 | 'stores',
50 | $store->getId()
51 | );
52 | }
53 |
54 | // Clean the cache
55 | Mage::getConfig()->cleanCache();
56 | }
57 |
58 | $installer->endSetup();
--------------------------------------------------------------------------------
/app/design/adminhtml/default/default/layout/gene/braintree.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
9 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | css/gene/braintree/adminhtml.css
20 |
21 | js braintree/braintree-1.3.4.js
22 |
23 |
24 |
25 |
26 | https://js.braintreegateway.com/web/{SDK_VERSION}/js/client.min.js
27 | https://js.braintreegateway.com/web/{SDK_VERSION}/js/hosted-fields.min.js
28 | https://js.braintreegateway.com/web/{SDK_VERSION}/js/three-d-secure.min.js
29 | https://js.braintreegateway.com/web/{SDK_VERSION}/js/data-collector.min.js
30 | gene/braintree/minified/vzero.min.js
31 | gene/braintree/minified/vzero-paypal.min.js
32 | gene/braintree/minified/vzero-integration.min.js
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | css/gene/braintree/adminhtml.css
44 |
45 |
46 |
47 |
48 |
49 |
50 | css/gene/braintree/migration.css
51 |
52 |
53 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/app/design/adminhtml/default/default/template/gene/braintree/applepay/info.phtml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
9 |
10 | getSpecificInformation()):?>
11 |
12 | $_value):?>
13 |
14 | escapeHtml($_label)?>:
15 | getValueAsArray($_value, false), "\n"))?>
16 |
17 |
18 |
19 |
20 |
21 | isSingleInvoice()): ?>
22 |
__('This order contains multiple Braintree transactions, to view more information on each transaction please view their corresponding invoice.'); ?>
23 |
24 |
25 |
26 | getChildHtml()?>
--------------------------------------------------------------------------------
/app/design/adminhtml/default/default/template/gene/braintree/assets.phtml:
--------------------------------------------------------------------------------
1 |
4 |
5 | getExternalJs() as $js) : ?>
6 |
7 |
8 | getJs() as $js) : ?>
9 |
10 |
--------------------------------------------------------------------------------
/app/design/adminhtml/default/default/template/gene/braintree/creditcard/info.phtml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 | getStore()->isAdmin() && $this->getMethod()->getCode() == 'braintree_legacy'): ?>
8 |
9 |
__('Legacy Payment'); ?>
10 |
__('This order was imported from the legacy Braintree extension. The information displayed below maybe incomplete due to information not being provided by the original extension.'); ?>
11 |
__('Certain operations such as credit memos & voiding may not work with this order.'); ?>
12 |
13 |
14 |
15 | getSpecificInformation()):?>
16 |
17 | $_value):?>
18 |
19 | escapeHtml($_label)?>:
20 | getValueAsArray($_value, false), "\n"))?>
21 |
22 |
23 |
24 |
25 |
26 | isSingleInvoice()): ?>
27 | __('This order contains multiple Braintree transactions, to view more information on each transaction please view their corresponding invoice.'); ?>
28 |
29 |
30 | getChildHtml()?>
--------------------------------------------------------------------------------
/app/design/adminhtml/default/default/template/gene/braintree/creditcard/saved.phtml:
--------------------------------------------------------------------------------
1 | hasSavedDetails() && $this->getMethod()->isVaultEnabled()): ?>
2 |
3 | __('Saved Cards'); ?>
4 | __('The customer has the following cards linked with their account.'); ?>
5 |
32 |
33 |
--------------------------------------------------------------------------------
/app/design/adminhtml/default/default/template/gene/braintree/googlepay/info.phtml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 | getSpecificInformation()): ?>
8 |
9 | $_value): ?>
10 |
11 | escapeHtml($_label); ?>:
12 | getValueAsArray($_value, false))); ?>
13 |
14 |
15 |
16 |
17 |
18 | isSingleInvoice()): ?>
19 |
__('This order contains multiple Braintree transactions, to view more information on each transaction please view their corresponding invoice.'); ?>
20 |
21 |
22 |
23 | getChildHtml(); ?>
--------------------------------------------------------------------------------
/app/design/adminhtml/default/default/template/gene/braintree/paypal.phtml:
--------------------------------------------------------------------------------
1 | getMethodCode()
4 | ?>
5 |
6 |
7 | getSavedChildHtml(); ?>
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/design/adminhtml/default/default/template/gene/braintree/paypal/info.phtml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 | getStore()->isAdmin() && $this->getMethod()->getCode() == 'braintree_paypal_legacy'): ?>
8 |
9 |
__('Legacy Payment'); ?>
10 |
__('This order was imported from the legacy Braintree extension. The information displayed below maybe incomplete due to information not being provided by the original extension.'); ?>
11 |
__('Certain operations such as credit memos & voiding may not work with this order.'); ?>
12 |
13 |
14 |
15 | getSpecificInformation()):?>
16 |
17 | $_value):?>
18 |
19 | escapeHtml($_label)?>:
20 | getValueAsArray($_value, false), "\n"))?>
21 |
22 |
23 |
24 |
25 |
26 | getChildHtml()?>
27 |
--------------------------------------------------------------------------------
/app/design/adminhtml/default/default/template/gene/braintree/paypal/saved.phtml:
--------------------------------------------------------------------------------
1 | __('Linked Accounts'); ?>
2 | hasSavedDetails()): ?>
3 |
4 | __('The customer has the following linked PayPal accounts.'); ?>
5 |
25 |
26 |
27 | __('This customer has not linked any PayPal accounts with your Magento store. Customers are only able to link PayPal accounts through the front-end checkout of your store.'); ?>
28 |
29 |
--------------------------------------------------------------------------------
/app/design/adminhtml/default/default/template/gene/braintree/transactions/index.phtml:
--------------------------------------------------------------------------------
1 |
9 | getChildHtml('search'); ?>
10 |
11 | getGridHtml() ?>
12 |
13 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/applepay.phtml:
--------------------------------------------------------------------------------
1 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/applepay/express/cart/button.phtml:
--------------------------------------------------------------------------------
1 |
2 | __('Buy with'); ?>
3 |
4 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/applepay/express/cart/setup.phtml:
--------------------------------------------------------------------------------
1 | isEnabled() || !$this->isEnabledCart()) return; ?>
2 |
3 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/applepay/express/catalog/button.phtml:
--------------------------------------------------------------------------------
1 |
2 | __('Buy with'); ?>
3 |
4 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/applepay/express/catalog/setup.phtml:
--------------------------------------------------------------------------------
1 | isEnabled() || !$this->isEnabledPdp()) return; ?>
2 |
3 | getProduct()->getFinalPrice();
6 | if ($this->getProduct() && $this->getProduct()->getTypeId() == Mage_Catalog_Model_Product_Type::TYPE_GROUPED) {
7 | $price = 1;
8 | }
9 | ?>
10 |
11 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/applepay/info.phtml:
--------------------------------------------------------------------------------
1 | escapeHtml($this->getMethod()->getTitle()) ?>
2 |
3 | getSpecificInformation()):?>
4 |
5 |
6 | $_value):
7 | if($_value): ?>
8 |
9 |
10 |
11 |
12 | getValueAsArray($_value, true)))?>
13 |
14 |
16 |
17 |
18 |
19 |
20 | getChildHtml()?>
21 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/assets.phtml:
--------------------------------------------------------------------------------
1 |
4 |
5 | getExternalJs() as $js) : ?>
6 |
7 |
8 | getJs() as $js) : ?>
9 |
10 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/creditcard/info.phtml:
--------------------------------------------------------------------------------
1 | escapeHtml($this->getMethod()->getTitle()) ?>
2 |
3 | getSpecificInformation()):?>
4 |
5 |
6 | $_value):
7 | if($_value): ?>
8 |
9 | escapeHtml($_label)?>:
10 |
11 |
12 | getValueAsArray($_value, true), "\n"))?>
13 |
14 |
16 |
17 |
18 |
19 |
20 | getChildHtml()?>
21 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/creditcard/saved.phtml:
--------------------------------------------------------------------------------
1 | hasSavedDetails() && $this->getMethod()->isVaultEnabled()): ?>
2 |
3 | __('Saved Cards'); ?>
4 | __('The following credit cards accounts are currently linked with your account.'); ?>
5 |
36 |
37 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/creditcard/threedsecure.phtml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/customer/methods.phtml:
--------------------------------------------------------------------------------
1 | getSavedDetails($this->getType())): ?>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | cardType)): ?>
11 |
12 | bin; ?>******last4; ?>
13 |
14 |
15 | __('Expires:'); ?> expirationMonth; ?>/expirationYear; ?>
16 |
17 |
18 |
19 | email; ?>
20 |
21 |
22 |
23 |
24 | cardType)): ?>
25 | __('Edit'); ?>
26 |
27 | __('Remove'); ?>
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/customer/saved.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
__('Saved Payment Information') ?>
4 |
5 |
6 | getMessagesBlock()->toHtml() ?>
7 |
8 |
9 |
10 | hasSavedDetails()): ?>
11 |
12 |
__('You\'re able to use any of the listed payment methods below when purchasing through our checkout, you\'re able to add new payment methods within the checkout.'); ?>
13 |
14 |
31 |
32 |
33 |
__('You currently have no saved payment information, you can save a payment method when making a purchase.'); ?>
34 |
35 |
36 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/express/button.phtml:
--------------------------------------------------------------------------------
1 | getStyleConfigArray($this->getData("config_name"));
4 | ?>
5 |
6 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/express/cart.phtml:
--------------------------------------------------------------------------------
1 | isEnabledCart()) {
4 | return;
5 | }
6 | ?>
7 |
8 |
53 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/express/catalog.phtml:
--------------------------------------------------------------------------------
1 | isEnabledPdp()) {
4 | return;
5 | }
6 | ?>
7 |
8 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/express/error.phtml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
__('There has been an issue whilst processing your order'); ?>
6 |
__('The following error has occurred whilst trying to process your order:'); ?>
7 |
8 |
9 | getMessagesBlock();
11 | /* @var $message Mage_Core_Model_Message_Error */
12 | foreach ($messages->getMessages() as $message) {
13 | ?>
14 |
15 | getText(); ?>
16 |
17 |
20 |
21 |
22 | __('Close'); ?>
23 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/express/shipping_details.phtml:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/googlepay.phtml:
--------------------------------------------------------------------------------
1 |
4 |
11 |
12 |
18 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/googlepay/info.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | escapeHtml($this->getMethod()->getTitle()); ?>
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/js/applepaysetup.phtml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
24 |
25 |
44 |
45 |
51 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/js/fme.phtml:
--------------------------------------------------------------------------------
1 |
6 | */
7 | ?>
8 |
9 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/js/googlepaysetup.phtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/js/setup.phtml:
--------------------------------------------------------------------------------
1 |
7 |
58 |
59 |
68 |
69 |
74 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/js/unicode.phtml:
--------------------------------------------------------------------------------
1 |
6 | */
7 | ?>
8 |
9 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/paypal.phtml:
--------------------------------------------------------------------------------
1 |
4 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/paypal/info.phtml:
--------------------------------------------------------------------------------
1 | escapeHtml($this->getMethod()->getTitle()) ?>
2 |
3 | getSpecificInformation()):?>
4 |
5 |
6 | $_value):
7 | if($_value):
8 | ?>
9 |
10 | escapeHtml($_label)?>:
11 |
12 |
13 | getValueAsArray($_value, true), "\n"))?>
14 |
15 |
17 |
18 |
19 |
20 |
21 | getChildHtml()?>
22 |
--------------------------------------------------------------------------------
/app/design/frontend/base/default/template/gene/braintree/paypal/saved.phtml:
--------------------------------------------------------------------------------
1 | hasSavedDetails() && $this->getMethod()->isVaultEnabled()): ?>
2 |
3 | __('Linked Accounts'); ?>
4 | __('The following PayPal accounts are currently linked with your account.'); ?>
5 |
29 |
30 |
--------------------------------------------------------------------------------
/app/etc/modules/Gene_Braintree.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | true
6 | community
7 |
8 |
9 |
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "gene/braintree",
3 | "type": "magento-module",
4 | "require": {
5 | "braintree/braintree_php": "^6"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/composer.lock:
--------------------------------------------------------------------------------
1 | {
2 | "_readme": [
3 | "This file locks the dependencies of your project to a known state",
4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5 | "This file is @generated automatically"
6 | ],
7 | "content-hash": "8d3051f7737873d410653d3c1c740dfd",
8 | "packages": [
9 | {
10 | "name": "braintree/braintree_php",
11 | "version": "6.24.0",
12 | "source": {
13 | "type": "git",
14 | "url": "https://github.com/braintree/braintree_php.git",
15 | "reference": "8b5b96630106aff5c6564ace13bddb123ff68891"
16 | },
17 | "dist": {
18 | "type": "zip",
19 | "url": "https://api.github.com/repos/braintree/braintree_php/zipball/8b5b96630106aff5c6564ace13bddb123ff68891",
20 | "reference": "8b5b96630106aff5c6564ace13bddb123ff68891",
21 | "shasum": ""
22 | },
23 | "require": {
24 | "ext-curl": "*",
25 | "ext-dom": "*",
26 | "ext-hash": "*",
27 | "ext-openssl": "*",
28 | "ext-xmlwriter": "*",
29 | "php": ">=7.3.0"
30 | },
31 | "require-dev": {
32 | "phpunit/phpunit": "^9.0",
33 | "squizlabs/php_codesniffer": "^3.0"
34 | },
35 | "type": "library",
36 | "autoload": {
37 | "psr-4": {
38 | "Braintree\\": "lib/Braintree"
39 | }
40 | },
41 | "notification-url": "https://packagist.org/downloads/",
42 | "license": [
43 | "MIT"
44 | ],
45 | "authors": [
46 | {
47 | "name": "Braintree",
48 | "homepage": "https://www.braintreepayments.com"
49 | }
50 | ],
51 | "description": "Braintree PHP Client Library",
52 | "support": {
53 | "issues": "https://github.com/braintree/braintree_php/issues",
54 | "source": "https://github.com/braintree/braintree_php/tree/6.24.0"
55 | },
56 | "time": "2025-02-28T18:43:37+00:00"
57 | }
58 | ],
59 | "packages-dev": [],
60 | "aliases": [],
61 | "minimum-stability": "stable",
62 | "stability-flags": {},
63 | "prefer-stable": false,
64 | "prefer-lowest": false,
65 | "platform": {},
66 | "platform-dev": {},
67 | "plugin-api-version": "2.6.0"
68 | }
69 |
--------------------------------------------------------------------------------
/js/gene/braintree/minified/express/paypal.min.js:
--------------------------------------------------------------------------------
1 | var BraintreePayPalExpress=Class.create(BraintreeExpressAbstract,{vzeroPayPal:!1,_init:function(){this.vzeroPayPal=new vZeroPayPalButton(!1,"",!1,this.config.locale,!1,!1,this.urls.clientTokenUrl,{})},attachToButtons:function(e){var a=this,t={env:a.config.env,commit:!1,style:a.config.buttonStyle,funding:a.config.funding,payment:{flow:"checkout",amount:a.config.total,currency:a.config.currency,enableShippingAddress:!0,shippingAddressEditable:!0,displayName:a.config.displayName},events:{validate:a.validateForm,onAuthorize:function(e){var t={paypal:JSON.stringify(e)};void 0!==a.config.productId&&(t.product_id=a.config.productId,t.form_data=$("product_addtocart_form")?$("product_addtocart_form").serialize():$("pp_express_form").serialize()),a.initModal(t)},onCancel:function(){a.hideModal()},onError:function(){alert("object"==typeof Translator?Translator.translate("We were unable to complete the request. Please try again."):"We were unable to complete the request. Please try again.")}}};e.each(function(e){e.up().addClassName("braintree-paypal-express-container")}),this.vzeroPayPal.attachPayPalButtonEvent(e,t)}});
--------------------------------------------------------------------------------
/js/gene/braintree/minified/vzero-paypal.min.js:
--------------------------------------------------------------------------------
1 | var vZeroPayPalButton=Class.create();vZeroPayPalButton.prototype={initialize:function(t,e,n,i,o,r,a,s){this.clientToken=t||!1,this.clientTokenUrl=a,this.storeFrontName=e,this.singleUse=n,this.locale=i,this.additionalOptions=s,this.amount=0,this.currency=!1,this.client=!1,this.onlyVaultOnVault=r||!1},getClientToken:function(n){return!1!==this.clientToken?n(this.clientToken):window.braintreeClientToken?n(window.braintreeClientToken):void new Ajax.Request(this.clientTokenUrl,{method:"get",onSuccess:function(t){if(t&&(t.responseJSON||t.responseText)){var e=this._parseTransportAsJson(t);if(1==e.success&&"string"==typeof e.client_token)return this.clientToken=e.client_token,window.braintreeClientToken=e.client_token,n(this.clientToken);console.error("We were unable to retrieve a client token from the server to initialize the Braintree flow."),e.error&&console.error(e.error)}}.bind(this),onFailure:function(){console.error("We were unable to retrieve a client token from the server to initialize the Braintree flow.")}.bind(this)})},getClient:function(n){!1!==this.client?"function"==typeof n&&n(this.client):this.getClientToken(function(t){braintree.client.create({authorization:t},function(t,e){t?console.error(t):(this.client=e,n(this.client))}.bind(this))})},setPricing:function(t,e){this.amount=parseFloat(t),this.currency=e},rebuildButton:function(){return!1},addPayPalButton:function(t,e){var n;if(!(n="string"==typeof(e=e||"#paypal-container")?$$(e):e))return console.error("Unable to locate container "+e+" for PayPal button."),!1;this.attachPayPalButtonEvent(n,t)},attachPayPalButtonEvent:function(r,a){var s=this;this.getClient(function(t){braintree.paypalCheckout.create({client:t},function(t,n){if(t)console.error("Error creating PayPal Checkout:",t);else for(var e,i=0;i span {
14 | margin-bottom: 6px;
15 | }
16 | #payment_form_gene_braintree_paypal > span {
17 | margin-bottom: 6px;
18 | }
19 | #credit-card-form.loading {
20 | position: relative;
21 | }
22 | #credit-card-form.loading .credit-card-loading {
23 | display: block;
24 | height: 70%;
25 | left: 0;
26 | position: absolute;
27 | right: 0;
28 | text-align: center;
29 | top: 30%;
30 | width: 100%;
31 | }
32 | #credit-card-form.loading .credit-card-loading img {
33 | margin: 16px auto;
34 | }
35 | #credit-card-form.loading .braintree-hostedfield {
36 | opacity: 0;
37 | }
38 | #credit-card-form .braintree-hostedfield {
39 | opacity: 1;
40 | }
41 | #credit-card-form .credit-card-loading {
42 | display: none;
43 | }
44 | #creditcard-saved-accounts {
45 | font-size: 0;
46 | width: 100%;
47 | }
48 | #creditcard-saved-accounts tr {
49 | border-bottom: 1px dotted lightgrey;
50 | font-size: 12px;
51 | }
52 | #creditcard-saved-accounts tr td {
53 | vertical-align: middle;
54 | }
55 | #creditcard-saved-accounts tr.other-row {
56 | border-bottom: 0;
57 | }
58 | #creditcard-saved-accounts tr.other-row label {
59 | line-height: 20px;
60 | padding: 8px 0;
61 | }
62 | #creditcard-saved-accounts label {
63 | float: left;
64 | line-height: 35px!important;
65 | padding: 4px 0;
66 | width: 100%;
67 | }
68 | #creditcard-saved-accounts label img {
69 | float: left;
70 | height: 35px;
71 | margin-left: 6px;
72 | }
73 | #creditcard-saved-accounts label .saved-card-info {
74 | float: left;
75 | margin-left: 14px;
76 | }
77 | #creditcard-saved-accounts label .saved-card-info span {
78 | line-height: 35px;
79 | }
80 | #creditcard-saved-accounts label .saved-card-info span.saved-expiry-date {
81 | font-size: 12px;
82 | font-weight: normal;
83 | margin-left: 14px;
84 | }
85 | #paypal-saved-accounts {
86 | font-size: 0;
87 | width: 100%;
88 | }
89 | #paypal-saved-accounts tr {
90 | border-bottom: 1px dotted lightgrey;
91 | font-size: 12px;
92 | }
93 | #paypal-saved-accounts tr td {
94 | vertical-align: middle;
95 | }
96 | #paypal-saved-accounts tr.other-row {
97 | border-bottom: 0;
98 | }
99 | #paypal-saved-accounts tr.other-row label {
100 | line-height: 20px;
101 | padding: 8px 0;
102 | }
103 | #paypal-saved-accounts label {
104 | line-height: 35px!important;
105 | padding: 6px 0;
106 | }
107 | #paypal-saved-accounts label img {
108 | float: left;
109 | height: 35px;
110 | margin-left: 6px;
111 | }
112 | #paypal-saved-accounts label .saved-paypal-email {
113 | float: left;
114 | margin-left: 14px;
115 | }
116 | #payment_form_gene_braintree_creditcard label,
117 | #payment_form_gene_braintree_paypal label,
118 | #payment_form_gene_braintree_creditcard .label,
119 | #payment_form_gene_braintree_paypal .label {
120 | float: none;
121 | padding: 0;
122 | text-align: left;
123 | width: 100%;
124 | }
125 | #gene_braintree_creditcard_store_in_vault_div label {
126 | width: auto!important;
127 | }
128 | label[for="gene_braintree_paypal_store_in_vault"] {
129 | width: auto!important;
130 | }
131 | .braintree_legacy_order {
132 | background: #dddddd;
133 | padding: 16px 15px 10px 15px;
134 | margin: 12px -15px;
135 | border-top: 1px solid #c7c7c7;
136 | border-bottom: 1px solid #c7c7c7;
137 | }
138 |
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/css/gene/braintree/adminhtml.less:
--------------------------------------------------------------------------------
1 | #payment_form_gene_braintree_creditcard {
2 | padding: 12px 0;
3 | p {
4 | padding: 0;
5 | }
6 | }
7 | #payment_form_gene_braintree_paypal {
8 | padding: 12px 0;
9 | p {
10 | padding: 0;
11 | }
12 | }
13 | #payment_form_gene_braintree_creditcard>span {
14 | margin-bottom: 6px;
15 | }
16 | #payment_form_gene_braintree_paypal>span {
17 | margin-bottom: 6px;
18 | }
19 | #credit-card-form.loading {
20 | position: relative;
21 | .credit-card-loading {
22 | display: block;
23 | height: 70%;
24 | left: 0;
25 | position: absolute;
26 | right: 0;
27 | text-align: center;
28 | top: 30%;
29 | width: 100%;
30 | img {
31 | margin: 16px auto;
32 | }
33 | }
34 | .braintree-hostedfield {
35 | opacity: 0;
36 | }
37 | }
38 | #credit-card-form {
39 | .braintree-hostedfield {
40 | opacity: 1;
41 | }
42 | .credit-card-loading {
43 | display: none;
44 | }
45 | }
46 | #creditcard-saved-accounts {
47 | font-size: 0;
48 | width: 100%;
49 | tr {
50 | border-bottom: 1px dotted lightgrey;
51 | font-size:12px;
52 | td {
53 | vertical-align: middle;
54 | }
55 | }
56 | tr.other-row {
57 | border-bottom: 0;
58 | label {
59 | line-height: 20px;
60 | padding: 8px 0;
61 | }
62 | }
63 | label {
64 | float: left;
65 | line-height: 35px!important;
66 | padding: 4px 0;
67 | width: 100%;
68 | img {
69 | float: left;
70 | height: 35px;
71 | margin-left: 6px;
72 | }
73 | .saved-card-info {
74 | float: left;
75 | margin-left: 14px;
76 | span {
77 | line-height: 35px;
78 | }
79 | span.saved-expiry-date {
80 | font-size: 12px;
81 | font-weight: normal;
82 | margin-left: 14px;
83 | }
84 | }
85 | }
86 | }
87 | #paypal-saved-accounts {
88 | font-size: 0;
89 | width: 100%;
90 | tr {
91 | border-bottom: 1px dotted lightgrey;
92 | font-size:12px;
93 | td {
94 | vertical-align: middle;
95 | }
96 | }
97 | tr.other-row {
98 | border-bottom: 0;
99 | label {
100 | line-height: 20px;
101 | padding: 8px 0;
102 | }
103 | }
104 | label {
105 | line-height: 35px!important;
106 | padding: 6px 0;
107 | img {
108 | float: left;
109 | height: 35px;
110 | margin-left: 6px;
111 | }
112 | .saved-paypal-email {
113 | float: left;
114 | margin-left: 14px;
115 | }
116 | }
117 | }
118 | #payment_form_gene_braintree_creditcard label, #payment_form_gene_braintree_paypal label, #payment_form_gene_braintree_creditcard .label, #payment_form_gene_braintree_paypal .label {
119 | float: none;
120 | padding: 0;
121 | text-align: left;
122 | width: 100%;
123 | }
124 | #gene_braintree_creditcard_store_in_vault_div {
125 | label {
126 | width: auto!important;
127 | }
128 | }
129 | label[for="gene_braintree_paypal_store_in_vault"] {
130 | width: auto!important;
131 | }
132 |
133 | .braintree_legacy_order {
134 | background: #dddddd;
135 | padding: 16px 15px 10px 15px;
136 | margin: 12px -15px;
137 | border-top: 1px solid #c7c7c7;
138 | border-bottom: 1px solid #c7c7c7;
139 |
140 | }
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/AE.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/AE.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/DI.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/DI.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/JCB.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/JCB.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/MC.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/MC.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/ME.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/ME.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/PP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/PP.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/VI.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/VI.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/apple-pay-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/apple-pay-logo.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/braintree-logo-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/braintree-logo-black.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/card.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/card.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/google-pay-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/google-pay-logo.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/paypal-loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/paypal-loading.gif
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/braintree/paypal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/braintree/paypal.png
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/loader-transparent.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/loader-transparent.gif
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/loader-white.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/loader-white.gif
--------------------------------------------------------------------------------
/skin/adminhtml/base/default/images/gene/loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/adminhtml/base/default/images/gene/loader.gif
--------------------------------------------------------------------------------
/skin/frontend/base/default/css/gene/braintree/minified/account.min.css:
--------------------------------------------------------------------------------
1 | #braintree-saved-payments .payment-methods-container{float:left;width:100%;margin:10px 0}#braintree-saved-payments .payment-methods-container .payment-methods{float:left;width:100%;margin:20px 0}#braintree-saved-payments .payment-methods-container .payment-methods table tr td{padding:0 0 10px 0}#braintree-saved-payments .payment-methods-container .payment-methods .payment-method-card-number{letter-spacing:3px;display:block}#braintree-saved-payments .payment-methods-container .payment-methods .payment-method-expiry-date{display:block;font-size:12px}#braintree-saved-payments .payment-methods-container .payment-methods .method-options a{margin-left:38px}form.gene-braintree-edit-form .input-box.card-number{line-height:48px;letter-spacing:3px}form.gene-braintree-edit-form .input-box.card-number img{margin-right:14px}form.gene-braintree-edit-form .input-box.expiry-date select{width:110px}form.gene-braintree-edit-form .input-box.cvv-field input{width:4em!important}
--------------------------------------------------------------------------------
/skin/frontend/base/default/css/gene/braintree/minified/applepay.min.css:
--------------------------------------------------------------------------------
1 | .apple-pay-button-with-text{--apple-pay-scale:1;display:inline-block;font-size:12px;border-radius:5px;padding:0;box-sizing:border-box;min-width:200px;min-height:32px;max-height:64px;text-align:center;vertical-align:middle;font-size:0;border:0;min-height:40px}.apple-pay-button-black-with-text{background-color:#000;color:#fff}.apple-pay-button-white-with-text{background-color:#fff;color:#000}.apple-pay-button-white-with-line-with-text{background-color:#fff;color:#000;border:.5px solid #000}.apple-pay-button-with-text.apple-pay-button-black-with-text>.ap-logo{background-image:-webkit-named-image(apple-pay-logo-white);background-color:#000}.apple-pay-button-with-text.apple-pay-button-white-with-text>.ap-logo{background-image:-webkit-named-image(apple-pay-logo-black);background-color:#fff}.apple-pay-button-with-text.apple-pay-button-white-with-line-with-text>.ap-logo{background-image:-webkit-named-image(apple-pay-logo-black);background-color:#fff}.apple-pay-button-with-text>.text{font-family:-apple-system;font-size:12px;font-weight:300;align-self:center;margin-right:calc(2px * var(--apple-pay-scale));vertical-align:middle}.apple-pay-button-with-text>.ap-logo{background-size:100% 60%;background-repeat:no-repeat;background-position:0 50%;margin-left:calc(4px * var(--apple-pay-scale));border:none;width:42px;height:34px;vertical-align:middle;display:inline-block}.apple-pay-loading-overlay{transition:.5s;opacity:0;visibility:hidden}.apple-pay-loading-overlay.active{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.7);background-size:64px 64px;z-index:10001;opacity:1;visibility:visible}.apple-pay-loading-overlay .ball-scale-ripple-multiple{position:absolute;left:50%;top:50%}@-webkit-keyframes ball-scale-ripple-multiple{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:1}70%{-webkit-transform:scale(1);transform:scale(1);opacity:.7}100%{opacity:0}}@keyframes ball-scale-ripple-multiple{0%{-webkit-transform:scale(.1);transform:scale(.1);opacity:1}70%{-webkit-transform:scale(1);transform:scale(1);opacity:.7}100%{opacity:0}}.ball-scale-ripple-multiple{position:relative;-webkit-transform:translateY(-25px);-ms-transform:translateY(-25px);transform:translateY(-25px)}.ball-scale-ripple-multiple>div:nth-child(0){-webkit-animation-delay:-.8s;animation-delay:-.8s}.ball-scale-ripple-multiple>div:nth-child(1){-webkit-animation-delay:-.6s;animation-delay:-.6s}.ball-scale-ripple-multiple>div:nth-child(2){-webkit-animation-delay:-.4s;animation-delay:-.4s}.ball-scale-ripple-multiple>div:nth-child(3){-webkit-animation-delay:-.2s;animation-delay:-.2s}.ball-scale-ripple-multiple>div{-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute;top:-2px;left:-33px;width:64px;height:64px;border-radius:100%;border:2px solid #fff;-webkit-animation:ball-scale-ripple-multiple 1.25s 0s infinite cubic-bezier(.21,.53,.56,.8);animation:ball-scale-ripple-multiple 1.25s 0s infinite cubic-bezier(.21,.53,.56,.8)}.product-view .add-to-cart-buttons.braintree-applepay-express-container .button{width:auto}.product-view .add-to-cart-buttons.braintree-applepay-express-container .button+.apple-pay-button-with-text{margin-left:5px}ul.checkout-types .braintree-applepay-express-container .apple-pay-button-with-text{height:33px;min-height:33px}@media (max-width:450px){.product-view .add-to-cart-buttons.braintree-applepay-express-container{width:100%}.product-view .add-to-cart-buttons.braintree-applepay-express-container .button{width:100%}.product-view .add-to-cart-buttons.braintree-applepay-express-container .apple-pay-button-with-text{width:100%;margin-bottom:10px}.product-view .add-to-cart-buttons.braintree-applepay-express-container .button+.apple-pay-button-with-text{margin-left:0}ul.checkout-types .braintree-applepay-express-container .apple-pay-button-with-text{width:100%;height:40px;min-height:40px}}.applepay-info-header{font-weight:700;padding:3px 0;text-align:left}.applepay-info{padding:3px 0}
--------------------------------------------------------------------------------
/skin/frontend/base/default/css/gene/braintree/minified/express.min.css:
--------------------------------------------------------------------------------
1 | #pp-express-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:100;background:rgba(0,0,0,.701961)}#pp-express-modal{box-sizing:border-box;display:none;position:fixed;top:20%;left:40%;left:calc(50% - 175px);z-index:101;width:350px;height:390px;padding:15px;background:#fff;border:3px solid #ccc;border-radius:4px;overflow:auto}#pp-express-modal .button{display:block;width:100%;margin-top:30px}#pp-express-modal .button.coupon-submit{margin:0;float:right;width:50%;box-sizing:border-box}#pp-express-modal .button.loading{background-image:url(../../../images/gene/loader-transparent.gif);background-repeat:no-repeat;background-position:center center;background-size:auto 60%;text-indent:-9999px}#pp-express-modal #paypal-express-coupon{float:left;width:50%;box-sizing:border-box;height:33px;line-height:33px}#pp-express-modal #paypal-express-coupon-error{margin-bottom:6px}#pp-express-modal .button2{display:block;width:100%;margin-top:6px;font-size:.9rem}#pp-express-modal .product-row{min-height:60px;margin:0}#pp-express-modal .item-row{border-bottom:1px solid #ccc;padding-bottom:10px;margin-bottom:10px;display:block}#pp-express-modal .item-row.coupon-row{float:left;width:100%}#pp-express-modal .item-subrow{margin-top:5px;margin-bottom:5px;display:block}#pp-express-modal .product-image{float:left;width:50px;height:50px;margin:0;overflow:hidden}#pp-express-modal .product-image img{max-width:100%}#pp-express-modal .product-info{margin-left:60px;padding-top:5px}#pp-express-modal .product-qty{font-size:.8rem}#pp-express-modal #shopping-cart-totals-table{width:100%}#pp-express-modal #shopping-cart-totals-table td{padding-left:10px}#pp-express-modal.loading:before{content:" ";background:url(../../../images/gene/loader.gif) no-repeat;height:48px;width:48px;position:absolute;top:30%;left:44%;left:calc(50% - 24px)}@media (max-width:770px){#pp-express-modal{width:70%;height:80%;top:10%;left:15%}}@media (max-width:500px){#pp-express-modal{width:100%;height:100%;top:0;left:0;border:none;border-radius:0;padding:25px}}.product-view .add-to-cart-buttons.braintree-paypal-express-container .button{width:auto}.paypal-express-btn{width:200px}.product-view .add-to-cart-buttons.braintree-paypal-express-container .paypal-express-btn{float:left;margin-left:15px;margin-top:2px}@media (max-width:599px){.paypal-express-btn{width:100%}.product-view .add-to-cart-buttons.braintree-paypal-express-container{width:100%}.product-view .add-to-cart-buttons.braintree-paypal-express-container .button{width:100%}.product-view .add-to-cart-buttons.braintree-paypal-express-container .paypal-express-btn{float:none;margin:15px 0}}.checkout-types.top li.braintree-paypal-express-container{display:block;float:left;margin-right:15px}.checkout-types.bottom li.braintree-paypal-express-container{margin-right:10px}.checkout-types.bottom li.braintree-paypal-express-container,.checkout-types.bottom li.braintree-paypal-express-container+li{float:left}@media (max-width:740px){.checkout-types.top li.braintree-paypal-express-container{float:none;margin-bottom:10px}.paypal-express-btn{width:100%}}@media (max-width:770px){.checkout-types.top li.braintree-paypal-express-container{margin-right:0}.checkout-types.bottom li.braintree-paypal-express-container,.checkout-types.bottom li.braintree-paypal-express-container+li{float:none}.checkout-types.bottom li.braintree-paypal-express-container{margin:0}}
--------------------------------------------------------------------------------
/skin/frontend/base/default/css/gene/braintree/minified/googlepay.min.css:
--------------------------------------------------------------------------------
1 | #googlepay-express-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:100;background:rgba(0,0,0,.701961)}#googlepay-express-modal{box-sizing:border-box;display:none;position:fixed;top:20%;left:40%;z-index:101;width:350px;height:390px;padding:15px;background:#fff;border:3px solid #ccc;border-radius:4px;overflow:auto}#googlepay-express-modal .button{display:block;width:100%;margin-top:30px}#googlepay-express-modal .button.coupon-submit{margin:0;float:right;width:50%;box-sizing:border-box}#googlepay-express-modal .button.loading{background-image:url(../../../images/gene/loader-transparent.gif);background-repeat:no-repeat;background-position:center center;background-size:auto 60%;text-indent:-9999px}#googlepay-express-modal #paypal-express-coupon{float:left;width:50%;box-sizing:border-box;height:33px;line-height:33px}#googlepay-express-modal #paypal-express-coupon-error{margin-bottom:6px}#googlepay-express-modal .button2{display:block;width:100%;margin-top:6px;font-size:.9rem}#googlepay-express-modal .product-row{min-height:60px;margin:0}#googlepay-express-modal .item-row{border-bottom:1px solid #ccc;padding-bottom:10px;margin-bottom:10px;display:block}#googlepay-express-modal .item-row.coupon-row{float:left;width:100%}#googlepay-express-modal .item-subrow{margin-top:5px;margin-bottom:5px;display:block}#googlepay-express-modal .product-image{float:left;width:50px;height:50px;margin:0;overflow:hidden}#googlepay-express-modal .product-image img{max-width:100%}#googlepay-express-modal .product-info{margin-left:60px;padding-top:5px}#googlepay-express-modal .product-qty{font-size:.8rem}#googlepay-express-modal #shogooglepaying-cart-totals-table{width:100%}#googlepay-express-modal #shopping-cart-totals-table td{padding-left:10px}#googlepay-express-modal.loading:before{content:" ";background:url(../../../../images/gene/loader.gif) no-repeat;height:48px;width:48px;position:absolute;top:30%;left:44%}
--------------------------------------------------------------------------------
/skin/frontend/base/default/css/gene/braintree/source/account.css:
--------------------------------------------------------------------------------
1 | #braintree-saved-payments .payment-methods-container {
2 | float: left;
3 | width: 100%;
4 | margin: 10px 0;
5 | }
6 | #braintree-saved-payments .payment-methods-container .payment-methods {
7 | float: left;
8 | width: 100%;
9 | margin: 20px 0;
10 | }
11 | #braintree-saved-payments .payment-methods-container .payment-methods table tr td {
12 | padding: 0 0 10px 0;
13 | }
14 | #braintree-saved-payments .payment-methods-container .payment-methods .payment-method-card-number {
15 | letter-spacing: 3px;
16 | display: block;
17 | }
18 | #braintree-saved-payments .payment-methods-container .payment-methods .payment-method-expiry-date {
19 | display: block;
20 | font-size: 12px;
21 | }
22 | #braintree-saved-payments .payment-methods-container .payment-methods .method-options a {
23 | margin-left: 38px;
24 | }
25 | form.gene-braintree-edit-form .input-box.card-number {
26 | line-height: 48px;
27 | letter-spacing: 3px;
28 | }
29 | form.gene-braintree-edit-form .input-box.card-number img {
30 | margin-right: 14px;
31 | }
32 | form.gene-braintree-edit-form .input-box.expiry-date select {
33 | width: 110px;
34 | }
35 | form.gene-braintree-edit-form .input-box.cvv-field input {
36 | width: 4em !important;
37 | }
38 |
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/AE.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/AE.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/DI.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/DI.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/JCB.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/JCB.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/MC.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/MC.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/ME.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/ME.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/PP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/PP.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/VI.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/VI.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/apple-pay-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/apple-pay-logo.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/braintree-logo-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/braintree-logo-black.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/card.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/card.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/google-pay-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/google-pay-logo.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/paypal-loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/paypal-loading.gif
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/braintree/paypal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/braintree/paypal.png
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/loader-transparent.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/loader-transparent.gif
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/loader-white.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/loader-white.gif
--------------------------------------------------------------------------------
/skin/frontend/base/default/images/gene/loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/justinbeaty/module-gene-braintree/eea11d6b74a60ccd8fb75e0296cb7dbd07432efb/skin/frontend/base/default/images/gene/loader.gif
--------------------------------------------------------------------------------