chrillep
Forum Replies Created
-
Forum: Plugins
In reply to: [Payment Plugins Braintree For WooCommerce] migrate settingsooh btw i couldn’t find any link that refers to https://docs.paymentplugins.com/wc-braintree/api/
onhttps://wordpress.paymentplugins.com
norhttps://support.paymentplugins.com
just FYI since it’s a good referens ??
Forum: Plugins
In reply to: [Payment Plugins Braintree For WooCommerce] migrate settingsthat’s great! thank you.
Forum: Plugins
In reply to: [Payment Plugins Braintree For WooCommerce] Settleyeah. thanks for the clarification =). id like to add that the method i used -> \Braintree_Test_Transaction::settle is in the braintree SDK located in the plugin.
woo-payment-gateway/Braintree/Test/Transaction.php
But either way i got it working.
Forum: Plugins
In reply to: [Payment Plugins Braintree For WooCommerce] Settlesolved it by
$settings = get_option( 'woocommerce_braintree_api_settings' ); $test_gateway = new \Braintree_TestingGateway(new \Braintree_Gateway([ 'environment' => $settings['environment'], 'merchantId' => $settings['sandbox_merchant_id'], 'publicKey' => $settings['sandbox_public_key'], 'privateKey' => $settings['sandbox_private_key'], ])); $test_gateway->settle( $transaction_id );
Forum: Plugins
In reply to: [Libsyn Publisher Hub] Wp Multisitewithout looking im guessing the plugin usses the same option_field not a site specific one
Forum: Plugins
In reply to: [WordPress Social Login] DateTime::__construct() Error in 2.3.3found this as a good reference
Forum: Plugins
In reply to: [Fraktjakt WooCommerce Shipping] fix jquery not found.Forum: Plugins
In reply to: [Theme Check] "Non-printable characters" false positivehmm revised it read at
PHP: How to remove all non printable characters in a string?
so used'/(*UTF8)[\x00-\x08\x0B\x0C\x0E-\x1F\x80-\x9F]/'
worked for swedish printable charsForum: Plugins
In reply to: [Theme Check] "Non-printable characters" false positivethe fix would be as stated in
preg_matchso from
'[\x00-\x08\x0B-\x0C\x0E-\x1F\x80-\xFF]/'
in nonprintable.php
to
'/(*UTF8)[\x00-\x08\x0B-\x0C\x0E-\x1F\x80-\xFF]/'
Forum: Plugins
In reply to: [WooCommerce Fortnox Integration] Best?llning som f?retagTack.
Om jag i woocommerce kassan best?ller som F?retag s? g?r det inte in i Fortnox./** * Creates a n XML representation of an Order * * @access public * @param mixed $arr * @param $customerNumber * @return mixed */ public function create($arr, $customerNumber){ $order_options = $options = get_option('woocommerce_fortnox_order_settings'); $options = get_option('woocommerce_fortnox_general_settings'); $root = 'Order'; $order['DocumentNumber'] = $arr->id; $order['AdministrationFee'] = $order_options['admin-fee']; $order['OrderDate'] = substr($arr->order_date, 0, 10); $order['DeliveryDate'] = substr($arr->order_date, 0, 10); $order['Currency'] = $arr->get_order_currency(); $order['CurrencyRate'] = '1'; $order['CurrencyUnit'] = '1'; $order['Freight'] = $arr->get_total_shipping(); $order['CustomerNumber'] = $customerNumber; $order['Address1'] = $arr->billing_address_1; $order['City'] = $arr->billing_city; $order['Country'] = $this->countries[$arr->billing_country]; $order['Phone1'] = $arr->billing_phone; $order['DeliveryAddress1'] = $arr->shipping_address_1; $order['DeliveryCity'] = $arr->shipping_city; $order['DeliveryCountry'] = $this->countries[$arr->shipping_country]; $order['DeliveryZipCode'] = $arr->shipping_postcode; $order['CustomerName'] = $arr->billing_first_name . " " . $arr->billing_last_name; $order['DeliveryName'] = $arr->billing_first_name . " " . $arr->billing_last_name; $order['VATIncluded'] = 'true'; $email = array(); $email['EmailAddressTo'] = $arr->billing_email; $order['EmailInformation'] = $email;
Ser inte order_company eller delivery_comany n?gonstans.
Forum: Plugins
In reply to: [Just Another Instagram Feed] User feedsmaybe should be jaif_get_url() instead
Forum: Plugins
In reply to: [NextScripts: Social Networks Auto-Poster] Hashtagging CF-CustomFieldNamemaybe a new tagging like %htags%
use %HCF-CustomFieldName%
Forum: Plugins
In reply to: [NextScripts: Social Networks Auto-Poster] Ignoring prepending textwould be usefull to be able to
{ISBN: %CF-CustomFieldName%}
or some other syntax
Forum: Plugins
In reply to: [NextScripts: Social Networks Auto-Poster] Hashtagging CF-CustomFieldNameit doesnt replace spaces with underscore if the %CF-CustomFieldName%
contains spacesin checkmail-validation-for-contact-form-7.php
change line 24 from
add_action('plugins_loaded', 'contact_form_7_checkmail', 10);
to
add_action('wpcf7_init', 'contact_form_7_checkmail', 10);