Skip to main content

#81 Rounding

Posted in ‘Stripe for Phoca Cart’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
8.1
Phoca Cart version
4.0.1.0
Stripe for Phoca Cart version
2.1.0

Latest post by b2z on Sunday, 03 December 2023 22:39 EET

cerberusdev

When I added the Stripe for Phoca plugin now I am seeing a filed called Rounding in my cart area. We are using the Phoca POS template since this is being used as our front counter POS. 

I have no idea where rounding came from but it only started showing up once I added Stripe for Phoca. It does not show up when Cash is the only available payment method.

Any idea where that is or how I can disable it?

b2z

Hi Terry,

Probably rounding is enabled in Phoca Cart options. See the Calculation part here https://www.phoca.cz/documentation/115-phoca-cart/116-phoca-cart-component/880-options

Kind regards,

Dmitrijs 

b2z

Also note that the payment plugins does not affect the cart and start working only after the checkout.

Kind regards,

Dmitrijs 

cerberusdev

It looks like the rounding issue in Phocacart was the problem but I do have one more issue.

 

I am using Phoca Cart as a POS. It looks like the cart is calling some methods that don't exist in the plugin and stripe fields are never showing up. Does this plugin not work with the POS template provided by Phoca Cart?

sulpher
Hi Terry,

It seems you have enabled all available events in endpoint which is not correct. You need just 4 events.
Please follow the tutorial:
Webhooks
In the end of tutorial you will see required events for each Stripe plugin. Since you have Stripe plugin (not Stripe Checkout), you need to take these events.

Please let me know about your progress.
Regards,
Eugene

cerberusdev

That isn't what I mean. When you checkout the stripe form never shows up on the website because I am using the Phoca POS template.

The template is calling code in the plugin that doesn't exist I think.

 

Factory::getApplication()->triggerEvent('onPCPonDisplayPaymentPos', array(&$output, $this->t, $eventData));

 

That event does not exist in the stripe.php file for the plugin.

 

Is there a way I can get this plugin working with the POS template, if not I would like a refund.

System Task
system
The ticket information has been edited by Terry Carter (cerberusdev).

cerberusdev

I have added admin credentials so you can see what is going on.

b2z

Hi Terry,

Probably there is some misunderstanding about the POS.

POS is point of sale - a system for sellers, not for users. So it's not a system for payment methods like PayPal or Stripe. And you cannot use POS template for the online store.

Difference: 

Customer) If a customer is shopping at an online store, they are on their computer where they choose a PayPal or Stripe payment method, log in (still on their computer) and make a payment.

POS) POS - point of sale, is a program for the retailer, running on the retailer's computer. It is used in brick-and-mortar stores. It is the vendor's computer, so it is not possible for the user to log in and make a payment via PayPal or Stripe on retailer's computer.

Here is the video about POS https://www.youtube.com/watch?v=YSZQgGxn8DQ

If you are running POS, not online shop, then you will need the plugins that will work with POS.

Kind regards,

Dmitrijs 

cerberusdev

Yes, I am the retailer running Phoca Cart using their POS system in my brick and mortar store. This is not for online sales at all, only internal store customers. We are using a card swipe for customers to be able to checkout via a screen at our store.

If the Norrnext plugin does not support the POS portion of Phoca Cart can we get a refund for the plugin since it is not usable for us?

b2z

The refund has been initiated. It may take a few days for the money to reach your account. The credit invoice has been be sent to your email.

Kind regards,

Dmitrijs

Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.