Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#457 2010-05-13 02:59:11

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: yab_shop (simple textpattern shop with paypal support)

Can I throw one more on the pile? Turns out that my ajax submit doesn’t work in IE – I get a 404… could that be because of the # the url? (url generated by yab_shop is http://iseethesunbooks.com/#yab-shop-form-2)

Last edited by JanDW (2010-05-13 02:59:32)


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#458 2010-05-13 03:17:33

hidalgo
Member
From: Australia
Registered: 2008-02-05
Posts: 77
Website

Re: yab_shop (simple textpattern shop with paypal support)

Ah yes, I had the same problem. My not so elegant solution was to remove the hash tag:

var url = thisForm.attr('action');
var url = url.substr(0,url.indexOf('#'));

Offline

#459 2010-05-13 03:26:34

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: yab_shop (simple textpattern shop with paypal support)

Not-so-elegant beats non-existent by a long shot: I’ll take it. Thanks Hidalgo… Do you use paypal? Does the phone number, billing address etc. get carried over to paypal for you?

Last edited by JanDW (2010-05-13 03:26:54)


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#460 2010-05-13 03:51:23

hidalgo
Member
From: Australia
Registered: 2008-02-05
Posts: 77
Website

Re: yab_shop (simple textpattern shop with paypal support)

Hmm, that’s strange, I just checked and the billing address is no longer forwarding for me either. Maybe something has changed on PayPal?

The phone number doesn’t work as it’s not forwarded to PayPal in the Yab_shop code. Adding the following line to the $parameters array of the yab_shop_build_paypal_encrypted_form($cart) function in yab_shop_core should work:

'night_phone_b' => yab_shop_return_input('phone'),

However that doesn’t solve the address issue. I’ve just had a quick look through the latest PayPal integration guide and didn’t find anything obvious.

Offline

#461 2010-05-13 03:58:47

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: yab_shop (simple textpattern shop with paypal support)

Cheers, seems like I’ve got more work cut out for tomorrow…


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#462 2010-05-16 15:13:11

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: yab_shop (simple textpattern shop with paypal support)

Sorry to be a near stalker but: I can’t figure it out: The street, zip, city & message don’t make it across the PainPal pond somehow…

it seems that yabshop conforms with the naming convention see the parameter array on line 1295 of the yab_shop core code . Can anybody help? It’d be much appreciated, you can see it in action on http://www.iseethesunbooks.com

Also I get this daft redundant screen when going to PainPal:
edit: weird, I’m all of the sudden not seeing the first screen anymore

Is it possible to immediately go to:

Thanks.

Last edited by JanDW (2010-05-16 19:17:25)


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#463 2010-06-18 10:29:31

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

can any one help me on these errors please-Tag error: <txp:yab_shop_cart> -> Textpattern Warning: Unknown column ‘timezone_key’ in ‘field list’
select custom_2 as property_1, timezone_key as property_2, timezone_key as property_3 from textpattern where ID = 2 on line 85
and
Tag error: <txp:yab_shop_add /> -> Textpattern Warning: Unknown column ‘timezone_key’ in ‘field list’
select custom_2 as property_1, timezone_key as property_2, timezone_key as property_3 from textpattern where ID = 2 on line 85

im trying to set up a variant like that found on the demo website with the house. these errors are to do with the property price and im a wee bit stuck cause i have to idea what they mean. any input would be greatly appreciated.

thanks

Offline

#464 2010-06-19 08:57:44

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Hi Nathanael,

I don’t know how and why the Textpattern prefs variable timezone_key is appearing in a yab_shop mysql query!

Can you list the names of the custom fields in your Textpattern preferences (»Admin->Preferences->Advanced->Customfields«) and the names of the custom fields for the yab_shop properties (»Extensions->Yab_Shop Preferences«)?


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#465 2010-06-19 10:29:09

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

Hi Trenc,

Thanks for getting back to me,

(»Admin->Preferences->Advanced->Customfield1=price
(»Admin->Preferences->Advanced->Customfield2=size

(»Extensions->Yab_Shop Preferences->custom field property 1= size

I want it so if you chose a different size product the price changes, i have use property prices (yes).

if i remove the yab_shop_add from the form then the error goes away although this is not good as the product needs to be added to the cart.

when i add the product to the cart im getting the same error message but with yab_shop_cart as well.

any help or suggestions would be greatly appreciated.

Cheers

Nat

Offline

#466 2010-06-19 13:32:15

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_shop (simple textpattern shop with paypal support)

Ok, and what are the content of

»Extensions->Yab_Shop Preferences->custom field property 2«
and
»Extensions->Yab_Shop Preferences->custom field property 3«?


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#467 2010-06-20 06:25:23

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

there are both blink, what does timezone_key mean? i may have changed something i shouldnt have and thats why im getting the error.

Offline

#468 2010-06-20 06:37:47

Nathanael_mc
Member
From: Liverpool
Registered: 2010-06-16
Posts: 20

Re: yab_shop (simple textpattern shop with paypal support)

Blank**

Offline

Board footer

Powered by FluxBB