Credit Card Payment Method - Specific Pirce

  • Posts: 63
  • Thank you received: 1
7 years 3 months ago #276362

-- url of the page with the problem -- : www.enigma-phil.com.ph/
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.7.4
-- PHP version -- : 7

Hi,

Need your help, we have 3 different prices that will display based on the logged in user, its working fine.

Here's what we need to accomplish;
Price A (User A), Price B (User B), Price C (User C)

1) Using a credit card payment if a user is from USER A / USER B it will get the Price A.

How can I accomplish such?

Regards,

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
7 years 3 months ago #276463

Hello,

For this you have to use the "Access level" in your Payment Method like this :



Note that you can create for the same plugin payment several Payment method in order to have for each user group different configuration, if needed.

Regards

Attachments:
Last edit: 7 years 3 months ago by Philip.

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

  • Posts: 63
  • Thank you received: 1
7 years 3 months ago #276534

Thank you for your reply. However, already set that up, is there any way thatU if I use the credit card payment method I can pull the PRICE A even I'm using a USER B?

I want to have the Price A on the cart even Im using USER B when I check out using the credit card payment.

Thank you for your help!

Regards,

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
7 years 3 months ago #276547

Hi,

I don't see the problem in doing so with the solution Philip proposed.
So maybe there is something I don't understand in what you're trying to do ?

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

  • Posts: 63
  • Thank you received: 1
7 years 3 months ago #276656

Ok, Here's what we need to accomplish.

We have different pricing on each product for certain user as follow;

1) Walk in
2) Loyale
3) Reseller

Here's the scenario, if a User is Loyale He/She will use the Loyale pricing, but if that Loyale User uses a CREDIT CARD payment He/She will use the Walk in price.

Regards,

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
7 years 3 months ago #276676

Hi,

So you want to change the price of the products in the cart based on the payment method selected ?
There is no option for that.
It's possible to have the prices of the products to vary based on the user group of the user, but then the price will be the same regardless of the payment method.
You can potentially configure payment methods with access level restrictions and different "price" set in them so that there will be a positive (or negative) payment fee added to the cart when a specific payment method is selected by a specific user group. But that fee will be either a percentage of the whole cart amount or a fixed amount.
Doing something else would require the development of a custom plugin.

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

  • Posts: 63
  • Thank you received: 1
7 years 3 months ago #276765

Yes, that is what we want to accomplish.

On the other option by doing a plug in, is there any sort of advice? what kind of plug in? payment plug in?

Any help will highly be appreciated.

Thanks

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
7 years 3 months ago #276782

Hi,

You want to do a joomla plugin of the group "hikashop" and implement the trigger onAfterCartProductsLoad:
www.hikashop.com/support/documentation/6...fterCartProductsLoad
In there, you want to change the price of the products loaded in the cart and recalculate the total of the cart that is already calculated when necessary.
The id of the payment method being selected in the cart will be available in $cart too.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum