هل من الممكن السماح للمستخدمين بالدفع عن طريق الذهاب إلى موقع Stripe؟ يفضل الكثير من المستخدمين في منتدياتي ذلك ليكون أكثر أمانًا، كما أن واجهة المستخدم أنظف بكثير. بهذه الطريقة يمكنني أيضًا تمكين المزيد من خيارات Stripe مثل Paypal.
نعم، يمكن القيام بذلك ببساطة عن طريق نشر رابط للدفع بواسطة Stripe في منشور منتدى.
قد تكون هناك طريقة أخرى لدمج Stripe مع Discourse مباشرة.
قد ينجح ذلك، ولكن أريد تعيين مجموعة تلقائيًا بمجرد نجاح الدفع.
لست متأكدًا مما إذا كان يمكن أتمتة ذلك أو يمكنك القيام بذلك يدويًا.
قد يكون هذا طلب ميزة. لقد حاولت البحث عن ذلك ويبدو أنه قد تم بالفعل بعض الحديث عن ذلك أو أسئلة مماثلة.
وجدت هذا، لا أعرف ما إذا كان هناك أي شيء مفيد هنا:
This is underway and should be wrapped up next week. Address fields will be passed to Stripe and captured for the Stripe customer.
يمكن أتمتة ذلك باستخدام المكون الإضافي الحالي للاشتراكات (يستمع إلى خطاف الويب)، ولكني أتساءل عن كيفية ربطه برابط الدفع الخاص بـ Stripe.
لقد وجدت إضافة قد تكون مفيدة في حالتي: Stripe Donations Plugin
إنها غير مدعومة، لكنني سأجربها وأبلغك.
تعديل: يبدو أن لديها صفحة دفع مخصصة تمامًا مثل الصفحات الأخرى، سأستمر في البحث.
هذا موضوع آخر بسؤال مشابه:
Is it possible for users to charge a fee to permit other users access to their groups, and related group materials? I know it is not an off-the-shelf feature, but is it possible?
Paid group membership (in turn granting access to specific categories) is an existing feature. Take a look in #plugins
Examples include Patreon , Procourse Memberships and Subscriptia .
If you have an existing website which handles such memberships you can also deliver group membership information via your SSO payload.
Users can’t charge others fees directly on a site they don’t own, would it make sense for them to even be able to?
nathank
(Nathan Kershaw)
6 أكتوبر 2023، 6:13ص
10
قد يكون هذا هو أفضل رد، ولكنه غير مكتمل. قد ترغب في المساهمة في المشروع:
@Alex_王 @Jonathan5 @nathank
if you want you can try out the updated code you can check out the branch from this PR:
you will have to run the stripe cli locally to relay the webhook messages. This is the command to use:
stripe listen --forward-to http://localhost:4200/subscriptions/hooks --api-key yourapikey
you also need to add the stripe webhook secret to the discourse instance (as the plugin setting “webhook secret”). You can find it in the code sample on the right in the webhook creatio…
إعجاب واحد (1)