Documentation: https://woocommerce.wpguiden.dk/en/woocommerce-guide
epay / woocommerce Goto Github PK
View Code? Open in Web Editor NEWBambora Online ePay - WordPress - WooCommerce
Bambora Online ePay - WordPress - WooCommerce
Documentation: https://woocommerce.wpguiden.dk/en/woocommerce-guide
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
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
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.
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 – 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
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
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?)
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önstret inte öppnas automatiskt.', 'woothemes') . '</p>';
echo $this->generate_epay_form($order);
}
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?
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
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
The module does not work properly with WooCommerce Subscriptions 2.x, resulting in a flood of payment requests on subscription renewal.
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
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? :)
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?
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
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:
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").
Here's more about CloudFlare's Flexible SSL system, which might be relevant: https://blog.cloudflare.com/flexible-ssl-wordpress-fixing-mixed-content-errors/
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
A WooCommerce backend feature in the ePay plugin that can switch the refund functionality on/off.
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
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
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?
I'm running Woocommerne 2.4.12 and Wordpress 4.4.
When trying to make a payment it just showes the frosted overlay and then goes back to checkout page.
Quite critical.
Website is teslafied.eu if you wanna see it.
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
according to the instructions here http://woocommerce.wpguiden.dk/da/opsaetning#66
i must add "description" in the module files...
where is the module file ? and how do i add it ? can u please guide :)
When a payment fails, the correct code is not running for Subscriptions failed payment retry system to work correctly.
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
The money is captured, however I see this red error in WooCommerce:
Visning af transaktionen fejlede - Unable to lookup errorcode
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.
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
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
Does not work with WooCommerce Subscription 2+
Unfortunately the ePay WooCommerce plugin does not with the WooCommerce Onepage checkout plugin.
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
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('')
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)
Hope someone can help?
Peter
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..
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
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
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
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.
I'm still getting these errors using version 3.0.1. It's in bambora-online-classic/lib/epay-soap.php on line 160.
Thanks
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.
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 :-(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.