News:

Support the VirtueMart project and become a member

Main Menu

Payment method not shown (sticky already read)

Started by ksfbjoern, January 18, 2016, 17:24:48 PM

Previous topic - Next topic

ksfbjoern

Hello,

my problem is that payment methods assigned to specific shopper groups are not shown in the cart.

It is not the first virtuemart shop that i have set up, and it works exactly like this in those different shops.

What i did:

1. Create new shopper group (in the this case called "VAT-Shopper").
2. Assign a test shopper to this group.
3. Create a payment method (for testing standard payment) assigned to shopper group "VAT-Shopper".

Now when i login with the test account assigned to shopper group "VAT-Shopper" the payment is not shown.

I did it exactly this way several times before, and it worked. It is absolutly confusing to me :o

Payment is published.

Joomla 3.4.8 and Virtuemart 3.0.12 is used.

I have attached two screens which show the payment setting.

Has anybody a hint for me?

Thank's a lot!

GJC Web Design

if you turn on VM debug anything there (although I think the debug .. unlike for shipment.. ids pretty limited for payments)  ?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ksfbjoern

Thanks for your reply. I have turned debug on:



vmdebug vmTime: time to load config: 0.0023190975189209
vmdebug Created new Calculator Instance

vmdebug vmTime: Time consumed for shipment/payment plugins: 6.60419464111328E-5
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.0206990242004395
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00715184211730957
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.0028998851776123
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00293588638305664
vmdebug vmTime: Time consumed for shipment/payment plugins: 4.98294830322266E-5
vmdebug vmTime: Time consumed for shipment/payment plugins: 4.38690185546875E-5
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00736403465270996
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00675415992736816
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00231003761291504
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00238299369812012
vmdebug vmTime: Time consumed for shipment/payment plugins: 4.69684600830078E-5
vmdebug vmTime: Time consumed for shipment/payment plugins: 4.69684600830078E-5
vmdebug vmTime: Time consumed for shipment/payment plugins: 5.48362731933594E-5

vmdebug PHP 5.4

vmdebug Show All Errors

vmdebug $siteLang: en-GB self::$vmlangSef: self::$_jpConfig->lang en_gb DefLang en_gb

vmdebug vmTime: time to load config: 0.00608706474304199

vmdebug Going to set pw fields unrequired

vmdebug Created new cart

vmdebug getVendorId normal shopper

vmdebug Created new Calculator Instance

vmdebug NO HIT my _deliveryCountry _deliveryState Var1:

1

Var2:

0

Var3:

Array
(
)

vmdebug NO HIT my _deliveryCountry _deliveryState Var1:

1

Var2:

0

Var3:

Array
(
)

vmdebug vmTime: Time consumed for shipment/payment plugins: 0.0289208889007568

vmdebug Start used Ram 4.75M

vmdebug vmTime: Time consumed for shipment/payment plugins: 7.51018524169922E-5

vmdebug Going to set pw fields unrequired

vmdebug getBTuserinfo_id is 775

vmdebug Going to set pw fields unrequired

vmdebug vmTime: Time consumed for shipment/payment plugins: 0.0191798210144043
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00861477851867676
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00399303436279297
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00392603874206543
vmdebug vmTime: Time consumed for shipment/payment plugins: 6.19888305664062E-5
vmdebug vmTime: Time consumed for shipment/payment plugins: 5.50746917724609E-5
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00788307189941406
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.0085608959197998
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00399017333984375
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.00556492805480957
vmdebug vmTime: Time consumed for shipment/payment plugins: 6.69956207275391E-5
vmdebug vmTime: Time consumed for shipment/payment plugins: 4.60147857666016E-5
vmdebug vmTime: Time consumed for shipment/payment plugins: 8.60691070556641E-5

vmdebug getBTuserinfo_id is 775

vmdebug getBTuserinfo_id is 775

vmdebug getBTuserinfo_id is 775

vmdebug getBTuserinfo_id is 775

vmdebug Going to set pw fields unrequired

vmdebug vmTime: Time consumed for shipment/payment plugins: 6.50882720947266E-5

vmdebug End used Ram 7.75M

vmdebug Peak memory peak 8.25M


There seems to be no obvious error?

GJC Web Design

nope...   :(

my next thought would be to debug the
protected function checkConditions ($cart, $method, $cart_prices) {

in the std. payment plugin but there appears to be only address, amounts and countries there
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ksfbjoern

#4
Ok, out of desperation, I have deleted the shopper group "VAT-Shopper" and created a new, with the same settings. Now it works. And i have absolutly no idea why ???

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation