tonioseiler / craft-commerce-wallee Goto Github PK
View Code? Open in Web Editor NEWCraft Commerce Payment Gateway for Wallee
License: Other
Craft Commerce Payment Gateway for Wallee
License: Other
Hi guys
Regarding version 2.2.0 running on Craft v4.4.14 and Commerce v4.2.11:
When using the "iframe" setting we're currently getting the script error "_xxx:1377 Uncaught TypeError: Cannot read properties of null (reading 'style')" after clicking on one of our payment option buttons.
It seems like it's just old class/id names that need to be updated in the javascript part of your code (_iframe.html:21):
var handler,
elements = document.getElementsByClassName("wallee-pay"),
buttonPay = document.getElementById('wallee-pay'),
loading = document.getElementById('wallee-rest-form-loading');
Kind regards
Meinhard
Craft: 4.8.7
Craft Commerce: 4.5.3
Wallee: 2.3.7
We are using two payment gateways, 1. wallee for online payments and 2. the manual gateway for invoice payments.
For orders using the manual gateway we need to capture the payment manually in the Craft backend but unfortunately the "Make payment" button in the Transactions tab of an order doesn't work anymore (see screenshot).
Looking stacktrace that get's returned by the error 500 response I see some wallee functions being called although this order has been made using the manual gateway:
[
{
"file": "/var/www/html/vendor/furbo/craft-commerce-wallee/src/gateways/Gateway.php",
"line": 139,
"function": "__set",
"class": "yii\\base\\Component",
"type": "->"
},
{
"file": "/var/www/html/vendor/craftcms/commerce/src/controllers/OrdersController.php",
"line": 925,
"function": "getPaymentFormHtml",
"class": "craft\\commerce\\wallee\\gateways\\Gateway",
"type": "->"
},
{
"function": "actionGetPaymentModal",
"class": "craft\\commerce\\controllers\\OrdersController",
"type": "->"
},
{
"file": "/var/www/html/vendor/yiisoft/yii2/base/InlineAction.php",
"line": 57,
"function": "call_user_func_array"
},
{
"file": "/var/www/html/vendor/yiisoft/yii2/base/Controller.php",
"line": 178,
"function": "runWithParams",
"class": "yii\\base\\InlineAction",
"type": "->"
},
{
"file": "/var/www/html/vendor/yiisoft/yii2/base/Module.php",
"line": 552,
"function": "runAction",
"class": "yii\\base\\Controller",
"type": "->"
},
{
"file": "/var/www/html/vendor/craftcms/cms/src/web/Application.php",
"line": 341,
"function": "runAction",
"class": "yii\\base\\Module",
"type": "->"
},
{
"file": "/var/www/html/vendor/craftcms/cms/src/web/Application.php",
"line": 642,
"function": "runAction",
"class": "craft\\web\\Application",
"type": "->"
},
{
"file": "/var/www/html/vendor/craftcms/cms/src/web/Application.php",
"line": 303,
"function": "_processActionRequest",
"class": "craft\\web\\Application",
"type": "->"
},
{
"file": "/var/www/html/vendor/yiisoft/yii2/base/Application.php",
"line": 384,
"function": "handleRequest",
"class": "craft\\web\\Application",
"type": "->"
},
{
"file": "/var/www/html/web/index.php",
"line": 12,
"function": "run",
"class": "yii\\base\\Application",
"type": "->"
}
]
If I disable the wallee plugin everything works fine and I can capture the manual payment.
Hello together
are there plans to continue this plugin for Craft CMS 5?
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.