Git Product home page Git Product logo

woocommerce's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

woocommerce's Issues

Missing Card Logos

Card logos on the checkout page are missing. I've made this custom code to make it work:

   add_filter('woocommerce_gateway_icon', array($this, 'woocommerce_gateway_icon'), 10, 2);

   function woocommerce_gateway_icon($icon, $id) {
        if ( $id === $this->id ) {
             
            global $woocommerce;
            $cart = $woocommerce->cart;
            $merchantnumber = $this->merchant;
            if(!$cart || !$merchantnumber)
            {
                return $icon;
            }

            $icon = '<span id="epay_card_logos"></span><script type="text/javascript" src="https://relay.ditonlinebetalingssystem.dk/integration/paymentlogos/PaymentLogos.aspx?merchantnumber='.$merchantnumber.'&direction=2&padding=2&rows=1&logo=0&showdivs=0&cardwidth=45&divid=epay_card_logos"></script>';
        }
        
        return $icon;
  }

Hash validation failed

Hash validation failed – Please check your MD5 key Ordrestatus ændret fra Vente for udførelse til Mislykket.

2020-10-14T17:48:51+00:00 CRITICAL Uncaught Error: Cannot unset string offsets in /var/www/xxxxxx.com/public_html/wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/include/translated-object.php:167

Subscriptions retry system compatibility

When a payment fails, the correct code is not running for Subscriptions failed payment retry system to work correctly.

This line: https://github.com/ePay/woocommerce/blob/master/bambora-online-classic/bambora-online-classic.php#L489

The process_subscription_payment_failure_on_order() method is a very old method that was intended to act only on parent orders (it was added before there were renewal orders).

The plugin doesn’t need to call WC_Subscriptions_Manager::process_subscription_payment_failure_on_order() anymore.

It should really just call $renewal_order->update_status( 'failed', $message ) instead of calling $renewal_order->add_order_note( $message ) and then manually trying to process the failure (mark the order payment as failed and let Subscriptions do the rest automatically).

Stripe provides a good example of doing this: https://github.com/woocommerce/woocommerce-gateway-stripe/blob/3.2.3/includes/class-wc-gateway-stripe-addons.php#L280

Fatal error after 5.1.5 update

Hi,
After the recent update, we get a fatal error. It seems like some kind of conflict with our payment plugin Scanpay.
I have also notified Scanpay.

I have downgraded to the previous version.

Fatal Error: Uncaught ArgumentCountError: Too Few Arguments To Function WC_Scanpay::Add_card_icons(), 1 Passed In /Public/Wp-Includes/Class-Wp-Hook.php On Line 287 And Exactly 2 Expected In /Wp-Content/Plugins/Scanpay-For-Woocommerce/Includes/Gateway.php:101 Stack Trace: #0 /Wp-Includes/Class-Wp-Hook.php(287): WC_Scanpay->Add_card_icons('<Img Src="Https...') #1 /Public/Wp-Includes/Plugin.php(206): WP_Hook->Apply_filters('<Img Src="Https...', Array) #2 /Wp-Content/Plugins/Bambora-Online-Classic/Bambora-Online-Classic.php(1298): Apply_filters('Woocommerce_gat...', '<Img Src="Https...') #3 /Public/Wp-Content/Plugins/Woocommerce/Templates/Checkout/Payment-Method.php(26): Bambora_Online_Classic->Get_icon() #4 /Wp-Content/Plugins/Woocommerce/Includes/Wc-Core-Functions.php(345): Include('/Srv/Users/Evi In Wp-Content/Plugins/Scanpay-For-Woocommerce/Includes/Gateway.php On Line 101

Possible Error with WooCommerce Subscription

Hi

When deleting an processing order (it went wrong), we get this error that might come from this plugin. Maybe the hook is firing to late, and the subscription is deleted?

Thanks

PHP Fatal error: Uncaught Exception: Unable to change subscription status to "failed". in /home/forge/website/public/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscription.php:312#012Stack trace:#12#0 /home/forge/website/public/wp-content/plugins/bambora-online-classic/bambora-online-classic.php(515): WC_Subscription->update_status('failed', 'Bambora abonnem...')#12#1 /home/forge/website/public/wp-includes/class-wp-hook.php(298): Bambora_Online_Classic->subscription_cancellation(Object(WC_Subscription))#12#2 /home/forge/website/public/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)#12#3 /home/forge/website/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array)#12#4 /home/forge/website/public/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(164): do_action('woocommerce_sub...', Object(WC_Subscription))#12#5 /home/forge/website/public/wp-includes/class-wp-hook.php(300): WC_Subscriptions_Payment_Gateways::trigger_gat in /home/forge/website/public/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscription.php on line 312

Need documentation on capture-function.

Hi,

We need to make an custom extention to this plugin, so we can capture payments when an order changes stage to COMPLETED. Can you please provide info on this matter? :)

Error member function

After capture an amount on a order. I get this error when clicking anything:
[08-Nov-2016 15:22:23 UTC] PHP Fatal error: Call to a member function get_error_message() on string in /xxxx/xxxxxx/public_html/wp-content/plugins/woocommerce-gateway-epay-dk/woocommerce-gateway-epay-dk.php on line 617

Please advise

Error in callback after 5.3.2 update

Hi,

After the recent update to 5.3.2, then it seems that the change 46d7546 cause en error because the function getWPMLOrderLanguage requires a WC_Order but in the latest change its the Order ID that is passed to the function.

I have tested by reverting the change in 46d7546 locally and then it works again when the callback is being called.

Here is a log of the error:

CRITICAL Uncaught TypeError: Argument 1 passed to Bambora_Online_Classic_Helper::getWPMLOrderLanguage() must be an instance of WC_Order, int given, called in /nas/content/live/SITE/wp-content/plugins/bambora-online-classic/lib/bambora-online-classic-helper.php on line 295 and defined in /nas/content/live/SITE/wp-content/plugins/bambora-online-classic/lib/bambora-online-classic-helper.php:323
Stack trace:
#0 /nas/content/live/SITE/wp-content/plugins/bambora-online-classic/lib/bambora-online-classic-helper.php(295): Bambora_Online_Classic_Helper::getWPMLOrderLanguage(11680)
#1 /nas/content/live/SITE/wp-content/plugins/bambora-online-classic/bambora-online-classic.php(761): Bambora_Online_Classic_Helper::validate_bambora_online_classic_callback_params(Array, 'ABCD', Object(Automattic\WooCommerce\Admin\Overrides\Order), '')
#2 /nas/content/live/SITE/wp-includes/class-wp-hook.php(307): Bambora_Online_Classic->bambora_online_classic_callback('')

No mention inside the plugin, that "business" plan is required for subscriptions to work

It would be nice to see a notice inside the admin area, that if, WooCommerce subscriptions is installed, and this plugin is installed, then output a message stating that it requires the "business plan" to work.
http://www.epay.dk/epay-payment-solutions/priser.asp

We now have a bad experience with a client, because nobody noticed that their current plan wasn't enough.

with subscriptions renewals of 1 year, the renewals started to fail.
After some dialog with Bambora/ePay, it was discovered that they didn't have a high enough plan.
And there was no possible solution to add the current customers on a subscription, without having the users to manually pay (again) and it cost a lot of members to drop out.

New capture feature dont do partly...?

Hi
I use the new feature when setting orders to "Completed" it automatically pulls out the money.

I edited the amount of an order from 9288,- to 9200,- and and set the order to complete ...
The withdraw was done in Woo but not in ePay manager - So the money is NOT taken/pulled from customer :-(
(Trans-ID: 263157474)

Best regards

Netzie

Please wait window not redirecting

Hi,
Recently we have been getting more and more complains from customers on IOS devices using Safari.
When they come to the last page before payment, that is suppose to redirect to payment window, it just hangs.
They can then come back at a later point and on the same device successfully complete the transaction.

On friday we had 2 customers in store completing an order at the same time, on identical devices, 1 could complete it, the other one hanged.

Attached is from a session with the issue, captured with mouseflow.

Could this be a backend problem at epay? or is it the plugin?

2020-11-15 16 18 01

Deprecation warnings

The following warnings are issues when the plugin is run with debug enabled.

Deprecated: Assigning the return value of new by reference is deprecated in /home/oliverocheva/www/xdg.oliverocheva.se/wp-content/plugins/woocommerce-gateway-epay-dk/gateway-epay-dk.php on line 205
Deprecated: Assigning the return value of new by reference is deprecated in /home/oliverocheva/www/xdg.oliverocheva.se/wp-content/plugins/woocommerce-gateway-epay-dk/gateway-epay-dk.php on line 280
Deprecated: Assigning the return value of new by reference is deprecated in /home/oliverocheva/www/xdg.oliverocheva.se/wp-content/plugins/woocommerce-gateway-epay-dk/gateway-epay-dk.php on line 391

Warning: preg_replace() [function.preg-replace <http://php.net/manual/en/function.preg-replace>]: The /e modifier is no longer supported, use preg_replace_callback instead

I am using PHP7, Wordpress 4.4.2 and WooCommerce 2.5.5.
When the payment window is showing, i get the error message:

Warning: preg_replace() [function.preg-replace http://php.net/manual/en/function.preg-replace]: The /e modifier is no longer supported, use preg_replace_callback instead

I have changed the following from:
private function jsonRemoveUnicodeSequences($struct)
{
return preg_replace("/\u([a-f0-9]{4})/e", "iconv('UCS-4LE','UTF-8',pack('V', hexdec('U$1')))", json_encode($struct));
}

To this:
private function jsonRemoveUnicodeSequences($struct)
{
return preg_replace_callback(
"/\u([a-f0-9]{4})/",
function($m) { return "iconv('UCS-4LE','UTF-8',pack('V', hexdec('U$m[1]')))"; },
json_encode($struct));
}

The warning no longer shows up, but I am not that good with regular expressions, so can anyone tell me if this is ok?

Jon Kristensen
http://jojoweb.dk

Same error again...

Hi
Just opened an order - Click to pull the payment
"Error Fetching http headers"

The money is pulled ... Just don't like red errors :)

Happy Easter

Peter

Wrong logo for Mobilepay

Hej
FYI
Jeg har netop modtaget en MobilePay betaling - men hæve vinduet i Woo viser MasterCard?
Den viser faktisk altid mastercard som default - med mindre det er et dankort.
men MobilePay logo'et burde da kunne vises

Hilsen

Peter

WooCommerce updates (3.0.*-version)

Please, fix your plug in according to the latest updates from WooCommerce, because currently a lot of errors occur in the system.
E.g.
WC_Order:
id - property is protected and can't be called directly, use get_id() instead.
get_order_currency - deprecated and should be replaced with WC_Order::get_currency
billing_country, shipping_city, shipping_first_name, shipping_last_name, ... - property should not be accessed directly

Is there any hooks/actions to implement card name

Hi
I modified the old plugin 2.x to output card name in the order list and on the "New Order email"

In this version I can see that the card name and even logo is shown in the single order view :) But in the code it looks like it's not saved in the order meta data, nut retrieved every-time from ePay serveres.

Incompatibility with CloudFlare's Wordpress plugin

Hi there,

I recently experienced that the ePay module on my site went from working fine to suddenly not working at all. I spent some time trying to work out what the issue was and I had several conversations with the ePay support team as well as with the theme developers of the theme that I'm using. In the end I worked out that it has to do with an incompatibility issue between CloudFlare's Wordpress plug-in, which prevent infinite redirect loops when loading WordPress sites under CloudFlare's Flexible SSL system, and the ePay module.

I don't think I actually need this functionality anyway, and so I've simply deactivated the CloudFlare plugin for now. However, I thought I would still report the problem here, in case it should be of interest to fix it (ideally ePay would work with CloudFlare seamlessly).

Here are a few points that might be relevant:

  1. I think – but I'm really not sure! – that perhaps the issue occurred when the CloudFlare plugin was updated to version 1.3.20 (from the changelog: "• Updated the method to restore visitor IPs,
    • Updated the URL rewrite to be compatible with WordPress 4.4
    ").

  2. Here's more about CloudFlare's Flexible SSL system, which might be relevant: https://blog.cloudflare.com/flexible-ssl-wordpress-fixing-mixed-content-errors/

  3. A member of the ePay support team also referenced step 6 on this page, suggesting that it has to do with it being impossible to white-list all the IP addresses of the ePay gateway: https://support.cloudflare.com/hc/en-us/articles/201897700-Recommended-First-Steps-for-all-CloudFlare-users

NB. In regards to point 3, I think that sounds likely to be the root of the problem, however, everything works well for me now that I've disabled the Wordpress plugin-in, but I'm still running the site on CloudFlare without white-listing IP addresses, which makes me think that perhaps it has to do with the plug-in and not CloudFlare as such – but then again, I don't know much about the technicalities of the plug-in and CloudFlare and how they work together.

Hope this reporting is helpful to make the ePay module better and stronger.

Thanks,

Jonas

When capture a viabill payment

Hi,
I just wanted to capture a ViaBill payment
Error: "Error Fetching http headers"

I use the = 2.6.5 = Version :-)
(I will upgrade to the 2.6.6. now and hope that helps?)

Fatal error with subscribtion

Hi Lads,

First...Thanks a million for your excellent work. This new facelift and many bugs fix has made a huge difference!

A small thing:

When a subscribtion ordre fails - this happends? When I try to delete the order?

Fatal error: Uncaught exception 'Exception' with message 'Bambora abonnements id blev ikke fundet' in xxxx/public_html/wp-content/plugins/woocommerce-gateway-epay-dk/woocommerce-gateway-epay-dk.php:548 Stack trace: #0 [internal function]: WC_Gateway_EPayDk->subscription_cancellation(Object(WC_Subscription)) #1 xxx/public_html/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array) #2 xxx/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #3 xxx/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 xxx/public_html/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(164): do_action('woocommerce_sub...', Object(WC_Subscription)) #5 [internal function]: WC_Subscriptions_Payment_Gateways::trigger_gateway_status_updated_hook(Object(WC_Subscription), 'cancelled') #6 xxx/public_html/wp-includes/class-wp-hook.php(300): call_user_func_array('WC_Subscrip in xxx/public_html/wp-content/plugins/woocommerce-gateway-epay-dk/woocommerce-gateway-epay-dk.php on line 548

Best regards

Peter
http://Bizdoktor.dk

Split payments

Hi, we are using the “old” epay module. Just to be sure before we change to Bambora online classic, how do we activate split payments? From the source code I guess arround line 300.
Is this correct?

New Order Email

Cannot locate the problem however when playing a new order with paypal, the system generates a new order email - however when plaing an order with this plugin, the system doesnt generate any new order emails..

Undefined index: enableinvoice

After checkout following error is displayed on landing page:

Notice: Undefined index: enableinvoice in wp-content/plugins/woocommerce-gateway-epay-dk/woocommerce-gateway-epay-dk.php on line 279

Translation not showing

Just installed V2.2, I see that there are .po and .mo files, but the string "Thank you for your order, please click the button below to pay with epay." is still showing on my danish shop.

What should I look for to get this working?

Wrong currency symbol in order payment actions

The payment actions widget on orders shows currency symbol different from the currency code of the payment. See attached screenshot — order was placed in Euros (consistent with currency code 978), but window shows DKK.

screenshot

Dette ville være GREAT

Hej
Jeg har mens jeg ventede på papir igennem giraffen benyttet Stripe
På hver ordre ved sammentællingen kan man se gebyret de napper - og hvad man så får i banken!!
Det ville jo være en FED ting også at kunne se i ePay/Bambora modulet?
stripe-2019-02-21_14-30-16

Do your magic

Peter

Delete / Slet / Cancel... No nada?

Just installed the latest.. 5.1.3
I did deactivate old... Deleted it and installed the new (activated it)
Did a TEST payment..
My own card... And wanted to clean up

Delete payment dont do nada? - The red button :-(

Ingen callback

Jeg får ikke en korrekt callback til shoppen, hvad skal jeg kigge efter?

Jeg har opdateret til seneste version 2.6.1.

Transaktionen er godkendt i epay og man ledes fint videre til bekræftelsessiden på shoppen.

MobilePay vs Dankort

Hi
I noticed a little difference...
In my ePay system I saw a payment from MobilePay
But my shop showed a VISA card payment
Everything else is 100% nice and spot on... And I could pull the money - So no complaining
Would it be possible to detect a MobilePay transaction and show the right logo for it in the shop?
(in time maybe the shop could show how many Mobile payment there was this month as well :) )

Peter

epay not working anymore after updating to Wordpress 4.5

Hi ePay,

After updating to Wordpress 4.5 the Epay window is not showing anymore, when i push the pay button, it waits 45 seconds and then the following error occurs : "Beklager, denne ordre er ugyldig, og kan ikke betales for.", "Sorry this order is invalid, and cannot be paid for".

/br
Jan R
skaermbillede 2016-04-26 kl 11 49 54

Brug af forældet class

Notice: WC_Subscriptions_Order::order_contains_subscription har været forældet siden version 2.0! Brug wcs_order_contains_subscription( $order ) i stedet. in /xxxx/public_html/wp-includes/functions.php on line 3658

Det er på linje 236 og 243 i filen woocommerce-gateway-epay-dk.php

Payment link?

Hi ePay People
I was just wondering if this has something to do with Bambora/Epay module or something else? (another plugin or my security plugin from iThemes?

I noticed the last 2 month that when a payment is abandon or I use "Switch to a user" to place a phone order and I want to copy and send the payment link to the customer .. it always shows a error message that the order is not payable ???
I do have to abandon the payment window due to that I only have 1 payment option = ePay

Anybody else have this issue...?

Best regards

Peter

Error after upgrading to the Giraff ...

Hi
I just upgraded to the 4.0 Bambora (Giraff) from ePay
Now I get ePay Callback error
1/24 (one pr. hour) When I click the link in the email to check... I get an msg. "Order was already created?

Please advise
I am using iThemes Security . That worked with ePay 3.67

PHP 7 - Cant see orders...?

Hi
When I set my site to run PHP7 I enjoy all the benefits on https://herbalcenter.dk - Speed and all :-)
But this plugin is blocking my orders in admin - when I open a order to see it and pull money etc. It only shows the top?? and the rest is blank???
I did some testing and disabled all my plugins... Then it works
So I need to drop back to phop5.6 to see and work with my orders?? :-(
I have another shop with almost the same setup ... and that runs perfectly with bambora
But when I have ALL plugins deactivated (Only WooCommerce and Bambora) it blockes the orders??
If I only have woocommerce active it works

It's a huge job to deactivate all plugins and tests... But after several hours - I can only place the fault on Bambora - So maybe there is something in my codes / database that is messing with something?

I can't really show anything here... (an empty order?)
But I can provide access and maybe a teamviewer session?
I am a Bambora Partner (Bizdoktor)
github-2018-05-01_12-22-17

Hope someone can help?

Peter

Wow ... You did it

Hi
First... What a TUNE UP this is! You lads are doing a fantastic job! I am impressed. The new functions, style and design is AMAZING!!! - This is setting the bar so high!! I salute you!!

I do only have small issues - to report - But it WORKS!!!

1: After I have captured a payment I get a RED Warning "Can't set header" or something like: Header already set"
Then I check on epay.dk login to my back end and see the capture is done (also shows perfectly in the plugin).

2: Then I set the order to "Completed" and "Save" ... Then I get an error: "" <<< Just two citation marks: "" ?? (Red error again)
Then I click my "Shipment" label button and generate a label to print! - Done
Except for the warnings ... Everything works like a champ.

My site: https://herbalcenter.dk
and http://bizdoktor.dk

have a great day and thanks for all your effort and hard work!! it is appriciated!!

Peter

Flash of weird string

Hi,

If I use the full screen window mode, I'll briefly see a flash of a weird string before I'm redirected to the payment window. It only happens with JS enabled.

epay-bug

Incorrect text domain / missing translation files

The following file contains a hardcoded Swedish string, specified as being in the woothemes domain. It should either not use __(), or preferably be moved to a translation file.

function receipt_page( $order )
{
    echo '<p>' . __('Tack för din order. Klicka på "Betala med ePay" nedan om betalf&ouml;nstret inte &ouml;ppnas automatiskt.', 'woothemes') . '</p>';
    echo $this->generate_epay_form($order);
}

ePay payment option not shown in frontend ??

I have activated the plugin and entered all neccesary information, but the option to pay with ePay is not shown in frontend. Does not helt to change to default theme?? Any suggestions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.