Skip to content
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

get POST data on isRedirect() #204

Open
graytape opened this issue May 13, 2021 · 1 comment
Open

get POST data on isRedirect() #204

graytape opened this issue May 13, 2021 · 1 comment

Comments

@graytape
Copy link

$response = $gateway->purchase([
					'amount'        => $total,
					'currency'      => $store_currency,
					'description'   => 'Stripe payment',
					'paymentMethod' => $paymentMethodId,
					'returnUrl'     => $returnUrl",
					'confirm'       => true,
					'metadata'      => null,
		        ])->setItems($items)->send();

When $response->isRedirect() is true and I follow the redirect, how do I finalize the payment? And where do I get the data that I've sent?
Thanks

@vojtasvoboda
Copy link

Which gateway type? Stripe Charge, Stripe Payments Intents or Stripe Checkout?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants