Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wpforms-.../vendor_p.../stripe/stripe-p.../lib
File: ConfirmationToken.php
<?php
[0] Fix | Delete
[1] Fix | Delete
// File generated from our OpenAPI spec
[2] Fix | Delete
namespace WPForms\Vendor\Stripe;
[3] Fix | Delete
[4] Fix | Delete
/**
[5] Fix | Delete
* ConfirmationTokens help transport client side data collected by Stripe JS over
[6] Fix | Delete
* to your server for confirming a PaymentIntent or SetupIntent. If the confirmation
[7] Fix | Delete
* is successful, values present on the ConfirmationToken are written onto the Intent.
[8] Fix | Delete
*
[9] Fix | Delete
* To learn more or request access, visit the related guided: <a href="https://stripe.com/docs/payments/finalize-payments-on-the-server-confirmation-tokens">Finalize payments on the server using Confirmation Tokens</a>.
[10] Fix | Delete
*
[11] Fix | Delete
* @property string $id Unique identifier for the object.
[12] Fix | Delete
* @property string $object String representing the object's type. Objects of the same type share the same value.
[13] Fix | Delete
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
[14] Fix | Delete
* @property null|int $expires_at Time at which this ConfirmationToken expires and can no longer be used to confirm a PaymentIntent or SetupIntent. This is set to null once this ConfirmationToken has been used.
[15] Fix | Delete
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
[16] Fix | Delete
* @property null|\Stripe\StripeObject $mandate_data Data used for generating a Mandate.
[17] Fix | Delete
* @property null|string $payment_intent ID of the PaymentIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.
[18] Fix | Delete
* @property null|\Stripe\StripeObject $payment_method_preview Payment details collected by the Payment Element, used to create a PaymentMethod when a PaymentIntent or SetupIntent is confirmed with this ConfirmationToken.
[19] Fix | Delete
* @property null|string $return_url Return URL used to confirm the Intent.
[20] Fix | Delete
* @property null|string $setup_future_usage <p>Indicates that you intend to make future payments with this ConfirmationToken's payment method.</p><p>The presence of this property will <a href="https://stripe.com/docs/payments/save-during-payment">attach the payment method</a> to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.</p>
[21] Fix | Delete
* @property null|string $setup_intent ID of the SetupIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.
[22] Fix | Delete
* @property null|\Stripe\StripeObject $shipping Shipping information collected on this ConfirmationToken.
[23] Fix | Delete
* @property bool $use_stripe_sdk Indicates whether the Stripe SDK is used to handle confirmation flow. Defaults to <code>true</code> on ConfirmationToken.
[24] Fix | Delete
*/
[25] Fix | Delete
class ConfirmationToken extends ApiResource
[26] Fix | Delete
{
[27] Fix | Delete
const OBJECT_NAME = 'confirmation_token';
[28] Fix | Delete
use ApiOperations\Retrieve;
[29] Fix | Delete
const SETUP_FUTURE_USAGE_OFF_SESSION = 'off_session';
[30] Fix | Delete
const SETUP_FUTURE_USAGE_ON_SESSION = 'on_session';
[31] Fix | Delete
}
[32] Fix | Delete
[33] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function