Square Payment Plug-in Credit Card Details

  • Posts: 14
  • Thank you received: 4
3 years 5 months ago #324805

-- url of the page with the problem -- : www.mokuhanga-school.jp/
-- HikaShop version -- : 4.3.0 Business
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.3.23
-- Browser(s) name and version -- : Firefox

Does the plugin store credit card details locally? I don't want to have any access to them.
I've recently bought and installed the plug in. I see the customer enters their credit card directly on our website, A customer has the impression I will keep their credit card details. What can I tell them?

The plug in appears to be installed working ok, documentation is very minimal though!

Also, is there any way to edit this page, eg add some instructions / text?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
3 years 5 months ago #324828

Hello,

1. Every HikaShop payment plugin won't store credit card details, credit cards information are only used to generate a "token" returned from the Square payment platform to process the payment.

2. If you want to customize that page to add some instructions, the best solution will directly be to edit the following file : "plugins\hikashoppayment\square\square_end.php"

Kind regards,
Mohamed.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 4
3 years 5 months ago #324867

Thank you for your quick reply!
I'll try that.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 4
3 years 5 months ago #324901

Actually, the language file for the plug in is here:
/administrator/language/en-GB/en-GB.plg_hikashoppayment_square.ini
Maybe easier to add something to the first line of that file?
SQUARE_PAY_CC="Pay with a Credit Card ...Your Details are never stored on our Website..."

Also css file is here: plugins/hikashoppayment/square/sqpaymentform.css

By the way, I can't get this plug-in to work... nothing seems to happen using sandbox credentials - should i start a new ticket for this?

Thanks
Terry

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
3 years 5 months ago #324919

Hello Terry,

Can you show us how you configured your Square payment plugin through some screenshots and give us a link to the page where you are having that issue so that we can directly reproduce it ? Thank you !

Kind regards,
Mohamed.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 4
3 years 5 months ago #324940

Thanks Mohamed
You can go to my online shop here: https://www.mokuhanga-school.jp/buy-prints-and-materials/online-tools-shop

After working through the checkout, the payment options page will come. The Square payment option shows, I've left the sandbox one published if you want to try.
The next page you can enter credit card details, these are some test credentials to use:
4111 1111 1111 1111 date - any cv 111 (alternative # 5105 1051 0510 5100)
I've tried some other test numbers from Square as well.
When you click to pay, nothing happens, no error message, just no change at all. An invoice is generated, though, with a "created" status.
I've attached two images with the settings for the sandbox payment method.

This is the paid plug-in from Tsuki dev, who I've emailed but got no reply from.

Thanks
Terry

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 135
  • Thank you received: 33
  • MODERATOR
3 years 5 months ago #324945

Hello Terry,

We actually didn't received any email from you, you can contact us using the following email address and we'll gladly assist you : tsukidev.contact[at]gmail[dot]com

Also, one of our customers had that issue in sandbox mode, the API used in that plugin actually cannot support sandbox payments anymore without code customization, you'll find attached the JavaScript error message you are having when using the sandbox square payment method, and which you don't have when using production credentials.
That's why we are working on the development of a new Square payment plugin which should be released near November, so you'll just have to download it again through your user space and use it.

Kind regards,
Mohamed Thelji.
Tsuki Dev


Kind regards,
Mohamed.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com
Attachments:
Last edit: 3 years 5 months ago by Tsuki Dev.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 4
3 years 5 months ago #324976

Hello Mohamed
Thanks for your reply. I'd sent a message through the contact form on Tsuki dev website, it must have been filtered to junk I guess.

Ok, I'll wait for the update on the plug in.

Regards
Terry

The following user(s) said Thank You: Mohamed Thelji

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 4
3 years 4 months ago #325294

Hello Mohamed
I see there was an update of the Square payment plugin, thank you.
It still has some problems for me (testing in sandbox)
After filling in the card details, and clicking pay, the next page is an error page, with the following:

0 - Cannot access private property Square\Models\Payment::$status

I tried again with debug mode, but the same.
I checked my Square sandbox account, and there are two successful card charges there, but for ¥4,936,599 each!!!!
The real order total was ¥48,330. Hikashop properly created the orders for that amount, marked as "created"

So the plug in is doing something really weird with the currency Japanese yen.

Also is there a way to turn off the postal code requirement?

Thank you
Terry

The following user(s) said Thank You: Tsuki Dev

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 4
3 years 4 months ago #325295

I just found the individual charges, the figures are:
proper charge ¥48,330, charged to sandbox ¥483,300, so proper cost x 10.

The following user(s) said Thank You: Tsuki Dev

Please Log in or Create an account to join the conversation.

  • Posts: 135
  • Thank you received: 33
  • MODERATOR
3 years 4 months ago #325300

Hello Terry,

Thank you so much for your feedback !

I just found the individual charges, the figures are:
proper charge ¥48,330, charged to sandbox ¥483,300, so proper cost x 10.

It should work fine in Euro, USD,... as they want the sum to be sent in the smallest unit ($1 = 100 cent). But it must be different in Yen.
Can you download the last Square version, install it and test it again ?



Also is there a way to turn off the postal code requirement?


You can try it by editing the file "square_end.php", but I actually tried it and it led to errors in my end, that's why we removed the "Disable post code" option.

Kind regards,
Mohamed Thelji.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com


Kind regards,
Mohamed.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com
Last edit: 3 years 4 months ago by Tsuki Dev.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 4
3 years 4 months ago #326532

Hello Mohamed
Sorry, i didn't get back to this for a while.
I just downloaded and installed the Square plug in again, and tested a transaction.
Still, it multiplies the amount by 10, so instead of ¥47241 the card was charged ¥4,724,100
As JP¥ is my primary currency (I live in Japan) this is no good for me.

Am I missing the update? I can't find any other place to download other than my order. There seems to be no version listing?
If the plug in will not work for Japanese yen, am I able to get a refund?

Thanks
Terry

Please Log in or Create an account to join the conversation.

  • Posts: 135
  • Thank you received: 33
  • MODERATOR
3 years 4 months ago #326598

Hello,

Am I missing the update? I can't find any other place to download other than my order. There seems to be no version listing?
If the plug in will not work for Japanese yen, am I able to get a refund?

If you re-downloaded it you should have the last version, can you send us a temporary back-end access to you website so that we can directly test it to see from where that issue is coming using the following email : tsukidev.contact[at]gmail[dot]com ? Thank you !

Sure, if we can't fix that issue, not that we have a 30-day money-back guarantee, you'll just have to contact Hikashop's support.

Kind regards,
Mohamed.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com


Kind regards,
Mohamed.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 4
3 years 3 months ago #326800

Hello Mohamed
I just emailed credentials to you, please check. (gmail often sends my mail into spam).

Thank you
Terry

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum