Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#196 2008-11-11 13:10:40

ellen
Member
From: Switzerland
Registered: 2006-04-18
Posts: 41

Re: yab_shop (simple textpattern shop with paypal support)

Si schrieb:

Ellen, I love your website! great style

here is my live implementation: www.vinyl.in.ua

Thanks a lot, Si! Your’s is “Otschen kracubaja”, too. Unfortunately, I could only watch the homepage. Each other link I tried took hours to load and finally took me nowhere. Maybe you should check this.

Keep on going!

Offline

#197 2008-11-11 13:54:19

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

Re: yab_shop (simple textpattern shop with paypal support)

Just a few questions:

1. Can this plugin keep the user on the site while checking out and paying?

2. Is there an option to use coupon codes?

3. What are the limitations with paypal?

I’m a little confused about what happens throughout the process.

Last edited by mattmikulla (2008-11-11 14:08:44)


Art Rogue – Fine Art Photography

Offline

#198 2008-11-11 15:29:54

Si
Member
From: Kiev
Registered: 2008-08-31
Posts: 45
Website

Re: yab_shop (simple textpattern shop with paypal support)

Si schrieb:
Unfortunately, I could only watch the homepage. Each other link I tried took hours to load and finally took me nowhere. Maybe you should check this.

Thanks for letting me know, Ellen.

Offline

#199 2008-11-11 16:25:16

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)

mattmikulla wrote:

1. Can this plugin keep the user on the site while checking out and paying?

If you pay via paypal or google checkout, you will be redirected to paypal or google.
All other payment methods are offline payments. Only mail notifications are sent to the shop admin and to the customer.

2. Is there an option to use coupon codes?

No, sorry.

3. What are the limitations with paypal?

Hm, dunno! What kind of limitations do you have in mind?

Last edited by trenc (2008-11-11 16:26:27)


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

Offline

#200 2008-11-20 11:55:04

Roger
New Member
Registered: 2008-11-20
Posts: 2

Re: yab_shop (simple textpattern shop with paypal support)

I’m having problems with encrypted paypal button. Having set all the parameters for paypal I get the following error:

Paypal public certificate is not readable! Please check permissions, names and paths!

Parameters have been set as

‘paypal_business_mail’ => ‘xxxxx@xxxxxxxx’,
‘paypal_prefilled_country’ => ‘gb’,
‘paypal_interface_language’ => ‘en’,
‘paypal_live_or_sandbox’ => ‘sandbox’,
‘use_encrypted_paypal_button’ => ‘1’,
‘paypal_certificate_id’ => ‘xxxxxxxxxxxxx’,
‘paypal_certificates_path’ => ‘/httpdocs/textpattern/xxxxxx/xxxxxx/’,
‘paypal_public_certificate_name’ => ‘paypal_cert.pem’,
‘paypal_my_public_certificate_name’ => ‘my-pubcert.pem’,
‘paypal_my_private_key_name’ => ‘my-prvkey.pem’

I’ve checked for permissions, set as rw- r— r—, names are same, I can only think I’ve done something wrong with the ‘paypal_certificates_path’ of which I’ve tried multiple permutations. Any suggestions please.

Offline

#201 2008-11-20 12:40:47

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 Roger,

compare the the full directory path to your DOC_ROOT with the given in your textpattern installation in Admin->Preferences->Advanced->File Directory Path or in your config.php.

I think the beginning with /httpdocs/ is not correct. It’s often /home/, /var/www/ or sometimes /opt/. /httpdocs/ should not be a first child directory of the root directory under a *nix os.


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

Offline

#202 2008-11-21 14:38:01

Roger
New Member
Registered: 2008-11-20
Posts: 2

Re: yab_shop (simple textpattern shop with paypal support)

Hi Trenc

Have done as you suggested by setting path to root directory of unix install (/var/www…), rechecked names and permissions, and I’m still getting the message ‘Paypal public certificate is not readable! Please check permissions, names and paths!’. Any other ideas.

TIA

- Roger

Offline

#203 2008-11-21 16:52:11

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)

Hmm,

this problem must be depend on the name of the paypal_cert.pem. The other files seemed to be readable. Be sure the name and the config are even. I think of the underscore in paypal_cert.pem, cause your other files have a minus and not an underscore. Maybe you have overseen it.

For debugging you can create empty files with simple names, copy them in DOC_ROOT for instance. and set the permission to 777. So encryption does not work, but you can test it for error messages.

Btw. Is your hosting safe_mod restricted? If so, then that’s the reason — and there is no really workaround without root access. You can only temporary change your files directory in textpattern to your certificate path, upload your files and change back and delete in your MySQL the file entries. But this is not tested and not recommended.

It’s generally not recommended to place such sensible files in a directory under DOC_ROOT.

Sadly I have no other ideas.


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

Offline

#204 2008-12-15 14:19:32

ellen
Member
From: Switzerland
Registered: 2006-04-18
Posts: 41

Re: yab_shop (simple textpattern shop with paypal support)

Hello,

I’d like to use yab_shop with gift certificates, too. So I created a new article called “Redeem gift coupon” and added a variant with a negative value:

Coupon— -5,00;

So far so good – the five Euros are instantly withdrawn from the bill when I add them to the cart.

It only malfunctions when I checkout and am forwarded to paypal. Then the paypal site says:

The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

So how can I prevent this? Why doesn’t Paypal accept the negative value?

URL of the site is http://www.visavis-jena.com

Any input is appreciated! Unfortunately, I am not a PHP programmer…

Offline

#205 2008-12-16 11:36:46

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)

Hello Ellen,

the idea with an extra article is nice, but paypal does not support negative price values, of course. And you have the opportunity to change the quantity of the coupon — I think this is not intended.

By an look on the reference I can’t see a varaible that can be used by a promo-code or coupon.
So a possible solution have to be yab_shop internal. Have to think about it, ‘cause it must be compatible with goggle ckeckout too. :/

Last edited by trenc (2008-12-16 11:56:48)


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

Offline

#206 2008-12-16 12:09:35

ellen
Member
From: Switzerland
Registered: 2006-04-18
Posts: 41

Re: yab_shop (simple textpattern shop with paypal support)

Trenc, thanks a lot for your prompt reply (Danke für die schnelle Antwort). Es wäre toll, wenn Du den yab-shop weiterentwickeln würdest. Wir Nicht-Programmierer brauchen Leute wie Dich! Eine Extra-Donation auf Deiner Website wäre Dir von meiner Seite sicher.

Fröhliche Weihnachten / Merry Christmas,

Ellen

Offline

#207 2008-12-16 14:25:52

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)

Erm thanks …
I’m a little bit abashed.

And I can tell you and all other interested parties that I have an idea now how to implement something like a working promo code — at least I hope so. ;)


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

Offline

#208 2008-12-16 15:53:24

rightnews
New Member
Registered: 2008-07-05
Posts: 3

Re: yab_shop (simple textpattern shop with paypal support)

i was trying to use yab_shop together with MLP, but i ended up with “no items in cart”.
the little side-cart worked well, but the main checkout was empty.

any suggestitions? its only the last step and it could be something easy… but i can’t figure it out

maybe that someone has it working – both MLP and yab_shop?

Offline

#209 2008-12-16 17:12:03

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: yab_shop (simple textpattern shop with paypal support)

I couldn+t get both of them working :( the urls were the problem, if i remember correctly


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#210 2008-12-16 18:24:59

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)

kemie wrote:

I couldn+t get both of them working :( the urls were the problem, if i remember correctly

Thats could be possible! Yab_Shop is is working with the functions pagelinkurl() and permlinkurl(). I think MLP is using another url-rewrites, but I don’t checked it yet.


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

Offline

Board footer

Powered by FluxBB