schlocke
Forum Replies Created
-
Forum: Plugins
In reply to: [Buttons Shortcode and Widget] 1.15 Breaks on PantheonSame here.
But my filesystem is writeable. I use ssh-sftp-updater-support pluginForum: Plugins
In reply to: [Germanized for WooCommerce] Fehler bei Erstellung von DHL-LabelsUnd die “Status”-Funktion am besten auch gleich anpassen, die prüft ja nur, ob ein Ergebnis zurückkommt. Richtig wäre, den http-status zu prüfen, hier also “502 Bad Gateway”
Forum: Plugins
In reply to: [Germanized for WooCommerce] Fehler bei Erstellung von DHL-LabelsHier auch:
“SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘https://cig.dhl.de/cig-wsdls/com/dpdhl/wsdl/geschaeftskundenversand-api/3.1/geschaeftskundenversand-api-3.1.wsdl'”
Ruft man diese Adresse auf, kommt:
502 Bad Gateway
Microsoft-Azure-Application-Gateway/v2Forum: Plugins
In reply to: [Simple Product Options for WooCommerce] Variant product price not updatedI developed my own solution:
wp-content/plugins/product-options-for-woocommerce/view/frontend/web/product/main.jsAdd this:
var inst = this;
setInterval(function() {
inst.updatePrice()
}, 1000);After
this.isVariableProduct = true;
}Forum: Plugins
In reply to: [Simple Product Options for WooCommerce] Variant product price not updatedThanks, but now I cannot deselect the option anymore, it always returns to the default value…
Forum: Plugins
In reply to: [Simple Product Options for WooCommerce] Variant product price not updatedOk. Thank you for that.
But now I have the +10 as a default Option. But the price isn’t raised.
When I open the page, +10 option is selected, but price is defaultForum: Plugins
In reply to: [Simple Product Options for WooCommerce] Variant product price not updatedAlready applied this: “Update variable product price”
http://hottons.com/po_modifications
–>Does not help- This reply was modified 4 years, 11 months ago by schlocke.
Forum: Plugins
In reply to: [Amazon Pay for WooCommerce] Capture when marking orders processingHi,
same thing here, after order with amazon pay is placed, the order remains in “pending payment”. I have to press “Authorize and Capture”.Also sellercentral shows me duplicate payments:
https://opensprinklershop.de/amazon_dup_pay.PNGAnd I get 2 order confirmation, one with 0 EUR, one with the real price.
We are using Woocommerce germanized pro (disabled 3-phase checkout, using standard)
shop is https://opensprinklershop.de/shopThis also happens often, but not always
What can I do? Debugging option is on, where are the logs?regards
StefanForum: Plugins
In reply to: [PayPal Plus for WooCommerce] Plugin erscheint nicht in ZahlungenAch ja,
in wp-config.php hatte ich eingetragen:
define(‘FS_METHOD’, ‘ssh2’);
damit geht PayPalPlus auch NICHTEs muss definitiv dies eingetragen sein:
define( ‘FS_METHOD’, ‘direct’);was relativ blöd ist, da ich ssh2 für die updates brauche (eben wegen der user zuordnung)
Forum: Plugins
In reply to: [PayPal Plus for WooCommerce] Plugin erscheint nicht in ZahlungenHallo,
ich hatte auch lange das Problem und konnte es wie folgt lösen:
Nach der Installation des woo-paypalplus plugins müssen die Rechte des Ordners angepasst werden. Bei mir ist es so, dass der Eigentümer der Dateien nicht der Webserver “wwwrun” ist, sondern ein User “shop”.
Die Dateien sind als mit user=shop und group=wwwrun abgelegt.Lösung ist, bei den Ordnern das s Flag der Gruppe zu setzen,
dazu z.b. per ssh in den ordner wp-content/plugins/ gehen und dann ausführen:
chmod g+s woo-paypalplus
cd woo-paypalplus
chmod g+s * -R
chmod g-s *.php *.txt LICENCE -RIm Prinzip sollte das so Standard sein, denn dass woocommerce-plugin ist ja genau so installiert.
Grüße,
Stefan
*opensprinklershop*I think papaschlumpf means, you should modify your “exists” method.
file: class-wp-filesystem-ssh2.php
change it from:
public function exists($file) { return $this->link->stat($file) !== false; }to:
public function exists($file) { if (!is_a($this->link, 'Net_SFTP')) return false; return $this->link->stat($file) !== false; }Ich habe mir das mal ansehen.
Aktueller Stand ist: Das Feld “Experience Profil ID” ist LEER und wird NICHT beim Speichern der Einstellungen generiert.
Daher kommt es beim Checkout zum Log-eintrag “INVALID_EXPERIENCE_PROFILE_ID”Sandbox ist AUS und “Live Client ID” / “Live Secret ID” sind korrekt (selber nochmal eingetragen und geprüft!)
Hatte das Problem auch! Es kam im PayPal-log auch immer “failed to write cache”
Nachdem ich mir mal den code angeschaut hatte, fand ich das Problem:
Die cachingdatei /wp-content/uploads/wc-logs/.ppp_auth.cache hat keine Schreibrechte.
Das lag bei mir daran, dass ich alle Rechte auf den owner gesetzt hatte.Also: Das DHL Plugin hat bereits von Haus aus einen Filter mit dem Namen “pr_shipping_dhl_label_args” zur Verfügung. Dieser wird immer vom DHL Plugin aufgerufen, wenn es eine Adresse braucht. Somit ist die Lösung: Wir hängen uns an diesen Filter ran (add_filter(‘pr_shipping_dhl_label_args’, ‘fr_modify_post_number’, 10, 2)) und verändern die angegebenen Daten, in dem wir dhl_postnum den Wert von _shipping_parcelshop_post_number geben.
dhl_postnum ist die Postnummer, wie es das DHL-Plugin erwartet, _shipping_parcelshop_post_number wie es von WooCommerce Germanized kommt.
Die setzen wir gleich, wenn eingetragen:
if( $shipping_dhl_postnum = get_post_meta( $order_id, ‘_shipping_parcelshop_post_number’, true ) ) {
$args[‘shipping_address’][‘dhl_postnum’] = $shipping_dhl_postnum;
}Wenn du nicht deine functions.php verändern willst, dann installiere das Plugin “Code Snippets” und trage obigen Code einfach ein wie beschrieben
Habe dies nun mit dem Plugin “Code Snippets” und folgendem Snippet gelöst (Nur im Administratorbereich auführen aktiv):
add_filter(‘pr_shipping_dhl_label_args’, ‘fr_modify_post_number’, 10, 2);
function fr_modify_post_number($args, $order_id) {if( $shipping_dhl_postnum = get_post_meta( $order_id, ‘_shipping_parcelshop_post_number’, true ) ) {
$args[‘shipping_address’][‘dhl_postnum’] = $shipping_dhl_postnum;
}return $args;
}