- Posts: 36
- Thank you received: 0
pay by square
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.4
-- Browser(s) name and version -- : chrome
Hello,
is there a plugin or any method how to add pay by square at the end of the order (also to send it to mail to customer)?
I mean:
customer chooses payment - bank transfer
he enters his bank app on his phone and he can choose scan QR to read all the information as bank account, price, reference, invoice number ...
thanks
Please Log in or Create an account to join the conversation.
There is no existing plugin for that.
It would require developping a plugin to integrate with the webservice provided by "pay by square". So you'll have to hire a developer to work on that for you.
We have documentation for developers needing to do that here:
www.hikashop.com/support/documentation/6...r-documentation.html
Please Log in or Create an account to join the conversation.
thanks
Please Log in or Create an account to join the conversation.
can you please help me
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Of course, but where do you exactly want to have these information ?Can You please tell me how will I call total order price and invoice number?
We'll need more information about the context, where are you having that error, what's the goal of your code, what do you want to achieve ? Thank you.i got this error in attachment
Kind regards,
Mohamed.
Please Log in or Create an account to join the conversation.
I have this error in end view
I want to display there QR code wherein are information about payment that customer will scan in bank account app
Please Log in or Create an account to join the conversation.
The code you've added to the view is displaying the content of the QR code on the page. So the "error" that you see is not an error. It's the content of the QR code when you read it with notepad.
You would see something similar if you try to open an image file with notepad++ for example.
So the issue is the way did you code.
You can't do
You need instead to do something like that:
stackoverflow.com/questions/3695077/php-html-image-output
Please Log in or Create an account to join the conversation.
and if You can tell me how can i get here real total amount of the order and also order number instead of 123.45 and 123456789
Please Log in or Create an account to join the conversation.
You have all the data of the order in $this->order
For for example you have the order id in $this->order->order_id
And you have the total amount in $this->order->order_full_price
Please Log in or Create an account to join the conversation.
I guess that invoice ID I will get like this: $this->order->invoice_id
Can You please help me with reducing the content of QR under the QR code?
Please Log in or Create an account to join the conversation.
The invoice ID is in $order->order_invoice_id
However, this value is normally 0 when the order is created and is only set when the order's status is changed to "confirmed".
So normally, it's the order_id you want to send them.
Regarding the QR code content being displayed after the QR code, you just need to remove the last line
Please Log in or Create an account to join the conversation.
ok I want to send them order_id but my order ID coontains year and 4digit order ID
but with the order_id I get only the 4digit ID
and one more question:
will it be possible to send the QR code in the email to customer when creating order?
Please Log in or Create an account to join the conversation.
1. So it's not the order id you want to send but the order number. You can get the order number in $order->order_number
2. You could use the same code and replace $order by $data in the "HTML" section of the email when you edit the "order creation notification" email with the Business edition only.
Please Log in or Create an account to join the conversation.
Im trying to implement this qr code, but always get error.
Please Log in or Create an account to join the conversation.