Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2008-03-10 00:43:17

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: yab_shop (simple textpattern shop with paypal support)

I’ve just installed and modified this plugin and it looks very promising and is great already!
I wonder if other currencies can be used as well (roubles, franks, crowns etc)?

Offline

#50 2008-03-10 03:24:26

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: yab_shop (simple textpattern shop with paypal support)

Pat64:

I tried to get in touch with you, but not sure if you got my email. The screencast is great and exactly what I need in terms of Paypal integration. Is there any chance that you would share your modifications with the community?

This would be the final piece of the puzzle for my project, and I can guarantee a much appreciated addition to the community , as well as a great added feature to trenc’s awsome (and unexpected) shopping cart plugin.

Anxiously await your response.

progre55

Offline

#51 2008-03-10 07:56:39

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

Re: yab_shop (simple textpattern shop with paypal support)

@progre55 : done. I just send you an email.

But I want to clarify some things :

It’s not my plugin. All the (great) stuff belongs to trenc. I made this cause I had an immediat need for a project and I could’nt wait.
And of course, I’m not a developer like trenc.

In french we say “Rendons a César ce qui appartient à César.” ;)

Sure this author’s plugin will make a better version in few days. The roadmap is very exciting.

Tks again trenc for this very useful plugin and your very professionnal coding.

Cheers,

Last edited by Pat64 (2008-03-10 08:01:03)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#52 2008-03-10 14:34:20

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: yab_shop (simple textpattern shop with paypal support)

Pat64:

Thanks for the quick reply, unfortunately I did not receive an email. Is it possible for you to send again, or post where I can download.

I apologize if I mistated about the plug in. trenc definitely deserves the credit for the plug in. He did an awsome job and it is much appreciated by myself and everyone else on the board.

The added piece (Paypal Integration) is also much appreciated since this is necessary for an immediate project of mine.

trenc’s road map is VERY exciting. The fact that this plug in (and one that I think everyone would agree) will be added to the “must have” list for us TXPers is a tribute to the hardwork and professionalism that trenc put into the finished product.

Pat64, thanks again for the assistance.

Look forward to receiving the code.

progre55

Offline

#53 2008-03-10 16:10:36

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

Re: yab_shop (simple textpattern shop with paypal support)

Ok.

You can test it and download it on this sample website here

Edit : download link works (sorry, some textile problems ;) Note it’s a free hosting (thanks to e3b.org ). So it’s not very efficient one.

Cheers,

Last edited by Pat64 (2008-03-10 16:57:51)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#54 2008-03-10 16:17:30

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: yab_shop (simple textpattern shop with paypal support)

Pat64:

Thanks for everything, sorry to be a pain, but the download link is not functioning/active.

progre55

Offline

#55 2008-03-10 19:01:53

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,719
Website

Re: yab_shop (simple textpattern shop with paypal support)

progre55: did you see this article on Pat’s page. There’s a link there that works.


TXP Builders – finely-crafted code, design and txp

Offline

#56 2008-03-10 19:42:18

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: yab_shop (simple textpattern shop with paypal support)

jakob:

Thanks. I think Pat must have changed it, because initially it did not work. (or I could have been mistaken)

Pat64. THANKS.
trenc. THANKS.

progre55

Offline

#57 2008-03-11 15:56:18

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

Re: yab_shop (simple textpattern shop with paypal support)

Oh, I see you where busy, nice!. :)

And I see you can’t wait … so I shipped a new update, with a small paypal support!
I decided to release it as version 0.2.0, ‘cause of the new paypal checkout ablility. But beware, it’s beta (at least I call it so) and the paypal checkout is not yet encrypted. So test it carfully and report bugs etc., please!

And don’t praise me too much, only a litte bit! ;)
I’m not a real delevoper I’m an autodidact developer, so I know the code is partial … hm … let me say: dirty.

@ricoschette:
Other currencies can be used to, I only have to implement it. So you have to say me the currency, the used currency symbol and the used format of the currency value (e.g. 1,000.50 or 1.000,50 or simply 1000.50). Then I can implement it fairly quickly.

Offline

#58 2008-03-11 16:12:47

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: yab_shop (simple textpattern shop with paypal support)

trenc:

You are to modest. This plug in rocks, both in its design and also in its timing.

Thanks for integrating the Paypal support. I was in the process of implenting PAt64’s fine work, but this makes it easier.

I do have a question:

If I only want the customer to use PayPal as the payment method, can I hard code this somewhere so it is not a pull down? If I just remove the other items, it still acts like a pull down.

Thanks again.

progre55

Offline

#59 2008-03-11 17:14:51

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

Re: yab_shop (simple textpattern shop with paypal support)

If I only want the customer to use PayPal as the payment method, can I hard code this somewhere so it is not a pull down? If I just remove the other items, it still acts like a pull down.

Ah, ok! I will try to handle this next release.
Meanwhile go into yab_shop plugin. Look for the function yab_shop_checkout_payment_methods(). And near the bottom of this function replace the line:

$select = tag($option, 'select', ' name="payment" id="payment"');

with this line:

$select = '<input type="text" readonly="readonly" name="payment" id="payment" value="'.yab_shop_lang('checkout_payment_paypal').'" />';

Offline

#60 2008-03-11 22:23:33

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: yab_shop (simple textpattern shop with paypal support)

trenc wrote:

@ricoschette:
Other currencies can be used to, I only have to implement it. So you have to say me the currency, the used currency symbol and the used format of the currency value (e.g. 1,000.50 or 1.000,50 or simply 1000.50). Then I can implement it fairly quickly.

That’s good the hear.
Thing is that there’s no symbol for our currency (like $,£,€), but of course there’s a code.
And that is EEK (like EUR and USD).

Now, I’m thinking that before the amount could be written “kr” – that’s short from “kroon” (crown).
For example: kr4242.00

Or we use after the amount two letters: .-
For example: 3242.-

Currency value would be 1000.50

Thank you for this marvelous plugin.

Last edited by ricoschette (2008-03-11 22:28:19)

Offline

Board footer

Powered by FluxBB