klox7 VIP
Total posts: 914
27 Янв 2014 14:39

I need a little help because I'm lost with this one.

I'm trying to do following thing...

I would like to have an option where public user could pay to get a discount offer. So user will pay for ex. 1€ to "unlock" offer and when this happens he will have option to download some kind of coupon where there will be our site logo, our client logo, full price and discount price (all these things must be controlled with some kind of template so that I can dynamically show logos while prices are mannualy inserted).

Then user will be able to download and print this "voucher" after paying 1€ fee. Also possibility to generate voucher numbers is desirable.

I tried this with voucher field but no luck. Is Paytoaccess or Paytodownload more appropriate?

Thanks

Последние изменения: 21 Нояб 2019


pepperstreet VIP
Total posts: 3,837
27 Янв 2014 19:43

Following…

PS: I have posted a similar topic and question.

SSI - printable custom layout view after payment.

All these were rough ideas in theory… Maybe worth to re-write it and turn it into an idea/request.


Sergey
Total posts: 13,748
28 Янв 2014 00:22

I think pay to access is perfect for that. User pay 1$ and access article with full view layout is a template. You can always add print button there that open the same article in &tmpl=component. Ready for print.

You may even show it differently. For example if

if(JFactory::getApplication()->input->getCmd('tmpl') == 'component')

With this conditions you may render only voucher for print version and additional fields for view.


klox7 VIP
Total posts: 914
28 Янв 2014 02:05

But in this case user will be able to print as many articles as he wants, right? I need an option where users pay 1€ and can print or download it only once. Posible with some kind of code or number...


Sergey
Total posts: 13,748
28 Янв 2014 05:37

Why? It is does not matter if it is print view or full view. It is the save view and will be allowed only for paid articles.


klox7 VIP
Total posts: 914
01 Фев 2014 10:38

I think I didn't asked right! I meant if user will pay for article (one specific article) then he will be able to print it as many times as he want?

The idea is simple...in record I want to have a coupon or voucher that can be downloaded only if user pays access to it. For one payment user can download coupon only once that's why coupons must have some kind of tracking number. Limited number of downloads and some kind of custom template of coupon would also be nice.

I think I found possible workaround with Emerald but there I can limit acces minimum to 1 hour. But what if user doesn't download it in available hour?...that's why I need some kind of "download count"...


Sergey
Total posts: 13,748
02 Фев 2014 23:33

I meant if user will pay for article (one specific article) then he will be able to print it as many times as he want?

Yes

I meant if user will pay for article (one specific article) then he will be able to print it as many times as he want?

I think I found possible workaround with Emerald but there I can limit acces minimum to 1 hour. But what if user doesn't download it in available hour?

What if user prints 100 of them by single click? Or if I have downloaded it on my PS no one limit me to use it as many time as I need.

The only solution to sell vouchers is to sell one number per purchase. It is like you'v got your number and it is yours. Forever. And if you want to track usages, it should be done on another side. Foe example it is voucher to restaurant. Then restaurant have to track which numbers was used how many times.


klox7 VIP
Total posts: 914
03 Фев 2014 01:57

The only solution to sell vouchers is to sell one number per purchase.

That's right! I want...when user buys voucher this voucher has some number on it. That's how "another side" knows which vouchers were used. User can print this voucher as many times as he wants but it won't matter because of the number on the voucher. And one number can be used only once. Probably I need custom coding for this?


Sergey
Total posts: 13,748
03 Фев 2014 02:39

Then I do not understand what is your question.

You know that we have special field to sell vouchers? This filed allow create one article but sell number of vouchers. Another words let's say you sell $10 google play cards. You have 20 of them. You do not need to create 20 articles to sell. You create on and list all vouchers in special field. And every new purchase will release new voucher/serial number/coupon/gift card number/whatever


klox7 VIP
Total posts: 914
03 Фев 2014 03:10

Thaaaaank you:) That solves all my problems...


klox7 VIP
Total posts: 914
04 Фев 2014 09:00

Sorry, but I'm still confused about voucher field so I have questions, again.

With this field you can sell voucher based on serial numbers right? Where to activate them?

Where to assign total number of all vouchers that can be sold (for each record seperate value and not some default value)?

Can I sell voucher for 1€ just to access and then on the voucher itself there is different offer (prices and discounts)?

Do I need sandbox for testing payments via PayPal?


Sergey
Total posts: 13,748
04 Фев 2014 09:05

You enter voucher codes or numbers on submission form not in field parameters.

If you set $1 as a price then user will get new number every time he purchase this article. You cannot set one initial price and another price for other vouchers. One price for each voucher in article.

So if you sell iTunes cards you create new article for each nominal.

$10 iTunes gift card

$20 iTunes gift card

...

And every article may contain few numbers or be sold few times. And when it is out of stock, it hide buy button and shows out of stock message. You simply need to edit it and insert new values separated by new lines.


klox7 VIP
Total posts: 914
11 Фев 2014 02:00

...then user will get new number every time he purchase this article.

Is this article possible to print with some kind of custom template?

What is the difference between Amount and Qnt. when buying voucher?

The best practice for buying vouchers is probably for user to be logged in?

Can status of voucher be set automatically to "Confirmed" after payment?


Sergey
Total posts: 13,748
11 Фев 2014 07:26

Can status of voucher be set automatically to "Confirmed" after payment?

Yes if paypal confirm it.

Can status of voucher be set automatically to "Confirmed" after payment?

The best practice for buying vouchers is probably for user to be logged in?

Yes. Absolutely.

Can status of voucher be set automatically to "Confirmed" after payment?

The best practice for buying vouchers is probably for user to be logged in?

What is the difference between Amount and Qnt. when buying voucher?

You always buy one voucher even if seller entered 100 of them.

Can status of voucher be set automatically to "Confirmed" after payment?

The best practice for buying vouchers is probably for user to be logged in?

What is the difference between Amount and Qnt. when buying voucher?

Is this article possible to print with some kind of custom template?

There is no special template, but user can print article.

Работает на Cobalt