Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit 1a5ce55

Browse files
authored
Remove return_url from PaymentIntent creation call (#37)
PaymentIntents do not support providing the `return_url` at creation time anymore. Instead, they're provided during the call to `confirm`, by the mobile SDK.
1 parent f1a25cc commit 1a5ce55

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

web.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ def authenticate!
128128
:amount => params[:amount],
129129
:currency => params[:currency] || 'usd',
130130
:description => params[:description] || 'Example PaymentIntent charge',
131-
:return_url => params[:return_url],
132131
:metadata => {
133132
:order_id => '5278735C-1F40-407D-933A-286E463E72D8',
134133
}.merge(params[:metadata] || {}),

0 commit comments

Comments
 (0)