Skip to content

Commit

Permalink
chore: add comment about whitelisted mollie uri
Browse files Browse the repository at this point in the history
  • Loading branch information
leuke-naam committed Dec 26, 2024
1 parent fd37db3 commit c074343
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models/payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ def request_payment
)

self.trxid = payment.id

# The host of this url is `www.mollie.com` so it will redirect to the mollie payment page
# if this ever chanes, the redirect_uri whitelist in the controller should be updated
self.payment_uri = payment._links['checkout']['href']
self.status = :in_progress

Expand Down

0 comments on commit c074343

Please sign in to comment.