diff --git a/Controller/CustomerReturn/Index.php b/Controller/CustomerReturn/Index.php index 89c1200..187d183 100644 --- a/Controller/CustomerReturn/Index.php +++ b/Controller/CustomerReturn/Index.php @@ -3,7 +3,7 @@ /** * 2017-11-07 * Note 1. - * Stripe API documentaion → «3D Secure Card Payments with Sources» → + * Stripe API documentation → «3D Secure Card Payments with Sources» → * «Step 4: Have the customer complete 3D Secure verification». * * «Once you determine if the card supports or requires 3D Secure, @@ -58,7 +58,7 @@ class Index extends \Df\Payment\CustomerReturn { * https://stripe.com/docs/sources/three-d-secure#customer-action * Note 4. * I treat the `pending` status as a successfull one because of this: - * «Stripe API documentaion → «3D Secure Card Payments with Sources» → «Step 5: Charge the Source». + * «Stripe API documentation → «3D Secure Card Payments with Sources» → «Step 5: Charge the Source». * Once the customer has authenticated the payment, * the source’s `status` transitions to `chargeable` and it can be used to make a charge request. * This transition happens asynchronously diff --git a/Init/Action.php b/Init/Action.php index 600a62e..46c124e 100644 --- a/Init/Action.php +++ b/Init/Action.php @@ -115,7 +115,7 @@ protected function redirectUrl() {return dfc($this, function() { * and we have already handled it above. * * 2017-11-07 - * Stripe API documentaion → «3D Secure Card Payments with Sources» → + * Stripe API documentation → «3D Secure Card Payments with Sources» → * «Step 3: Create a 3D Secure Source object» → «Checking if verification is still required». * * *) When creating a 3D Secure source, @@ -189,7 +189,7 @@ protected function transId() {return !$this->redirectUrl() ? null : $this->e2i( /** * 2017-11-06 - * Stripe API documentaion → «3D Secure Card Payments with Sources» → + * Stripe API documentation → «3D Secure Card Payments with Sources» → * «Step 2: Determine if the card supports or requires 3D Secure». * «The behavior of, and support for, 3D Secure can vary across card networks and types. * *) For cards that are not supported, perform a regular card payment instead. @@ -209,6 +209,11 @@ protected function transId() {return !$this->redirectUrl() ? null : $this->e2i( * The process must be completed for a charge to be successful. * » * https://stripe.com/docs/sources/three-d-secure#check-requirement + * + * 2017-11-14 + * My answer to the "Stripe: How do i know whether card is 3d secure and how to charge it" question + * on Stack Overflow: https://stackoverflow.com/a/47276816 + * * @used-by source3DS() * @return bool */