mod_payment(_stripe)

11 views
Skip to first unread message

Seann Aswell

unread,
Apr 19, 2024, 12:17:49 AMApr 19
to Zotonic developers
Curious, is anyone using mod_payment with the 1.0-master branch?

Needing to implement basic payment functionality for sales of digital goods, already have a Stripe account, and would prefer to use something integrated with Zotonic if possible. However, not sure if it's been tested or used with the lastest Zotonic?

It looks like mod_paysub is under development, but is focused on subscriptions. Will it ultimately replace mod_payment?

Marc Worrell

unread,
Apr 19, 2024, 8:36:01 AMApr 19
to zotonic-d...@googlegroups.com
Hi!

Indeed paysub is in active development at the moment.
And it is geared for paid subscriptions.

The mod_payment (and friends) is more for one-off payments and simple recurring payments.
I think Driebit is using it - at least the 0.x version of the module(s).
As they are moving sites over to the 1.x they will definitely start using the new versions soon (if they don’t already).

Cheers, Marc




--

---
You received this message because you are subscribed to the Google Groups "Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zotonic-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zotonic-developers/1d448a59-76a2-452e-a6a0-c0b797b106c0n%40googlegroups.com.

Message has been deleted

Marc Worrell

unread,
Apr 23, 2024, 6:22:36 AMApr 23
to 'Marc Worrell' via Zotonic developers
Hi,

Actually, that sounds like a kind of “eternal” membership :-)
Maybe Stripe has a type of one-time-payment subscriptions?

The paysub module can dynamically assign a user group depending on the subscriptions.
The user group could then allow access to the content groups of your paid content.

Cheers, Marc



On 20 Apr 2024, at 07:56, 'Seann Aswell' via Zotonic developers <zotonic-d...@googlegroups.com> wrote:

Greetings Marc,

Okay, understand. 

I am hoping to automatically add users to a group (ie: members) after a one-time payment is completed, allowing access to downloadable content and/or certain pages. Will do some testing and see if mod_payment will do the trick.

Will follow-up if further help is needed.

Thanks again,
Seann

Seann Aswell

unread,
Jun 16, 2024, 6:42:33 PMJun 16
to Zotonic developers
Hey Marc,

Apologies for the latency...I am now looking again at the best way to handle.

You may be right, perhaps finding a way to use the subscription functionality of Stripe is best. The product is a one time sale (digital or physical), but it does include an online component. So there could be an initial price that includes the one-time purchase, with a reduced yearly subscription renewal price for just the online portion.

Will look into this...

Thanks again,
Seann

Seann Aswell

unread,
Jun 23, 2024, 3:45:10 AM (10 days ago) Jun 23
to Zotonic developers
Just to confirm...

Testing mod_paysub. When making test payments product/subscription/payment info is populating in the admin properly, but redirect after payment fails.

According to zotonic_mod_paysubprivtemplatespaysub_psp_done.tpl the redirect landing page after payment is "/payment/done/<payment-nr>".

Can you confirm what "payment-nr" refers to? Elsewhere it appears "checkout-nr" may be needed instead.

Am currently using "/payment/done/{CHECKOUT_SESSION_ID}" in the Stripe admin for redirect after payment, but get an "unknown payment" error from Zotonic, so the user is not added.

Have manually attempted several different ID's, none have worked. Can you verify which ID mod_paysub is looking for?

Thanks,
Seann
Reply all
Reply to author
Forward
0 new messages