sentier-dev / dds_registration

Django app for event registration and billing
MIT License
0 stars 1 forks source link

Integrate a payment system (stripe) #13

Closed lilliputten closed 6 months ago

lilliputten commented 7 months ago

See the issue #50.

lilliputten commented 7 months ago

It's very likely that I'll have to use another payment method, not using those predefined urls. I can't see a way to determine which exact user made this specific payment, when I'm getting stripe event (payment_intent.succeeded).

M.b., I'll be able to do smth with a request data what I see in the event, like this:

   "request": {
      "id": "req_XPi0A8ZFLHBfIW",
      "idempotency_key": "61a25b43-1839-466a-9044-1e5fd3e47928"
   }

-- But I'm not sure if I'll have a success here.

M.b., I'll be able to achieve smth with success_url (if I find a way to utilize it here: I've seen it works with api calls, but I'm not sure, it's possible with these urls).

I think, I'll have to use js api, or m.b., dj-stripe or smth else.

lilliputten commented 6 months ago

The task finished in general as part of #65 in #2875299.

See issue comment.

lilliputten commented 6 months ago

@cmutel Probably, we can consider this as finished? The payments system has already integrated, but we have to change it, according to other issues, like #93.