#hammam6148
1 messages · Page 1 of 1 (latest)
Not sure I completely understand your question. Can you elaborate?
Can you share the payment intent ID in text?
pi_xxx
pi_3Nb1x7LNyUMk5XGh0fDbf6ym
Hi I want to call webhook but i am not getting "$_SERVER['HTTP_STRIPE_SIGNATURE']" and $payload = @file_get_contents('php://input'). these parameter values.
$response = \Stripe\Webhook::constructEvent(
$payload, $_SERVER['HTTP_STRIPE_SIGNATURE'], $endpoint_secret
);
@jovial elbow please message in the main channel so we can start a separate thread for you
@knotty fern So that payment intent is from the subscription. Looks like the other one for that customer was explicitly created via the api by you. See: https://dashboard.stripe.com/test/logs/req_DqseopF2ASaXyR
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
We followed the description on https://stripe.com/docs/stripe-js/elements/payment-request-button and tried to modify it for recurring payments. How is the workflow if we do not want to create that additional PaymentIntent and create only the Subscription?
const elements = api.elements();
const prButton = elements.create('paymentRequestButton',
{
paymentRequest: this.walletPaymentRequest
});
private async confirmCardPayment(
clientSecret:string,
paymentMethodeId:string
):Promise<PaymentIntentResult>
{
const api = await this.getApi();
return await api.confirmCardPayment(clientSecret,
{
payment_method: paymentMethodeId
},
{
handleActions: false
});
}
i need the payment Intent to bekomme the client secret