Comments (3)
Hi @masterdays
The description is the text that is presented to your customers when they go to the checkout page of your woocommerce. If you want to add or change the default text it is done in the module configuration inside woocommerce.
from woocommerce.
Hi Allan,
Thank you for prompt reply.
Sorry for not elaborating my question properly.
My question is about sending data to the payment gateway.
It seems possible to add a description to the product which is bought.. do u have any idea of where to insert this description parameter ?
from woocommerce.
Hi again,
Your question is still not clear. Do you want to add a description to the order in the epay administration or du you want to add a description pr. product on the order (Like an invoice) ?
If you want to add it pr. product like an invoice, you can enable this function in the module configuration. (Enable invoice data)
If you want to add a description to the order you will have to add a description element to the payment request array here https://github.com/ePay/woocommerce/blob/master/bambora-online-classic/bambora-online-classic.php#L602.
$epay_args = array(
'encoding' => 'UTF-8',
'cms' => Bambora_Online_Classic_Helper::get_module_header_info(),
'windowstate' => $this->windowstate,
'mobile' => Bambora_Online_Classic_Helper::yes_no_to_int( $this->enablemobilepaymentwindow ),
'merchantnumber' => $this->merchant,
'windowid' => $this->windowid,
'currency' => $order_currency,
'amount' => Bambora_Online_Classic_Helper::convert_price_to_minorunits( $order_total, $minorunits, $this->roundingmode ),
'orderid' => str_replace( _x( '#', 'hash before order number', 'woocommerce' ), '', $order->get_order_number() ),
'accepturl' => Bambora_Online_Classic_Helper::get_accept_url( $order ),
'cancelurl' => Bambora_Online_Classic_Helper::get_decline_url( $order ),
'callbackurl' => apply_filters( 'bambora_online_classic_callback_url', Bambora_Online_Classic_Helper::get_bambora_online_classic_callback_url( $order_id ) ),
'mailreceipt' => $this->authmail,
'instantcapture' => Bambora_Online_Classic_Helper::yes_no_to_int( $this->instantcapture ),
'group' => $this->group,
'language' => Bambora_Online_Classic_Helper::get_language_code( get_locale() ),
'ownreceipt' => Bambora_Online_Classic_Helper::yes_no_to_int( $this->ownreceipt ),
'timeout' => '60',
'description' => 'YOUR DESCRIPTION'
);
Regards Allan
from woocommerce.
Related Issues (20)
- Visning af transaktionen fejlede - Unable to lookup errorcode HOT 2
- WooCommerce updates (3.0.*-version) HOT 5
- Feature Request: Credit / Refund functionality Enable/Disable
- Subscriptions retry system compatibility HOT 1
- PHP 7 - Cant see orders...? HOT 13
- Need documentation on capture-function. HOT 1
- Payment link?
- Added support for 'textonstatement' HOT 1
- Is there any hooks/actions to implement card name HOT 1
- Dette ville være GREAT HOT 1
- Wrong logo for Mobilepay
- No mention inside the plugin, that "business" plan is required for subscriptions to work HOT 1
- New capture feature dont do partly...? HOT 2
- Delete / Slet / Cancel... No nada? HOT 3
- New update does no longer show payment methods but only Bambora logo HOT 1
- Hash validation failed HOT 2
- Please wait window not redirecting HOT 3
- Fatal error after 5.1.5 update HOT 1
- Error in callback after 5.3.2 update HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woocommerce.