Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#193 2008-11-07 09:15:24

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)

Hm, the demohop is live.

The shop of a friend of mine, the spiritus rector of yab_shop — she asked me to develop a small shop for her small fashion boutique, is online. It’s available here Imposant Mode.


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

Offline

#194 2008-11-07 11:36:47

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

Re: yab_shop (simple textpattern shop with paypal support)

Ellen, I love your website! great style

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

Last edited by Si (2008-11-07 11:38:55)

Offline

#195 2008-11-07 11:46:57

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

Re: yab_shop (simple textpattern shop with paypal support)

Here is a question, which would probably arise sooner or later :)
I know the admin interface is under development, but would it be possible to implement some kind of a cookie setting or else, so that regular buyers didn’t have to enter all their contact details again and again? And perhaps add a “Remember me” checkbox?

Offline

#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

Board footer

Powered by FluxBB