Skip to content

Commit c074343

Browse files
committed
chore: add comment about whitelisted mollie uri
1 parent fd37db3 commit c074343

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/models/payment.rb

+3
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ def request_payment
6565
)
6666

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

0 commit comments

Comments
 (0)