-
Notifications
You must be signed in to change notification settings - Fork 74
refactor: ECE buttons to use confirmation tokens #11222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
92bdf06
9496989
5ffa37b
a7a71d1
86e9802
07655e8
678b6dc
15c0e45
0f4c55c
4c65635
8bc11f2
8a41c1f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Significance: patch | ||
| Type: update | ||
|
|
||
| refactor: ECE to use confirmation tokens instead of payment methods |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,14 +20,14 @@ class Create_And_Confirm_Intention extends Create_Intention { | |
| 'amount', | ||
| 'currency', | ||
| 'payment_method', | ||
| 'confirmation_token', | ||
| 'payment_method_update_data', | ||
| 'return_url', | ||
| ]; | ||
|
|
||
| const REQUIRED_PARAMS = [ | ||
| 'amount', | ||
| 'currency', | ||
| 'payment_method', | ||
| 'customer', | ||
| 'metadata', | ||
| ]; | ||
|
Comment on lines
28
to
33
|
||
|
|
@@ -114,7 +114,7 @@ public function set_cvc_confirmation( $cvc_confirmation = null ) { | |
| /** | ||
| * Return URL setter. | ||
| * | ||
| * @param string $return_url The URL to redirect the customer back to after they authenticate their payment on the payment method’s site. | ||
| * @param string $return_url The URL to redirect the customer back to after they authenticate their payment on the payment method's site. | ||
| */ | ||
| public function set_return_url( $return_url ) { | ||
| $this->set_param( 'return_url', $return_url ); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.