#vincent_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1333791374545518592
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
I talk of the merchant name displayed here
I am not sure how this is possible since the accounts are not even linked.
Could you please share a live website where I can reproduce the issue?
yes you could try on : https://dev.cabedita.ch/index.php?id_product=1021&controller=product
the only link between both account is that I manage both account ID (acct_1FiiTcdrjahS and
acct_1F7husMCxc) from my Stripe account
tell me if you want I create an account for you on the shop you could use test user
vincent+434412332@dffy.ch
Pass : Diyo6k1d7w
I would delete this test user after
The page doesn't seem to work for me - I see "Mode maintenance" message
oh sorry. should be ok now
I feel like it might actually be a bug, but a very weird one.
I assume you're creating the PayementIntent on the backend when you click on the Twint button, right?
Could you please share the code that handles this request?
{
$invoiceAddress = new Address((int) $cart->id_address_invoice);
$country = new Country($invoiceAddress->id_country);
return $this->startRedirectPaymentFlow($cart, 'twint',
[
'billing_details' => [
'name' => Utils::getCustomerName($cart),
]
]
);
} ```
Cart $cart,
string $stripeMethod,
array $paymentMethodData
): ExecutionResult
{
try {
$paymentMethodData['type'] = $stripeMethod;
$paymentIntent = $this->getStripeApi()->createPaymentIntent(
$cart,
$stripeMethod,
$paymentMethodData,
Utils::getValidationUrl($this->getMethodId())
);
$redirectUrl = Utils::extractRedirectUrl($paymentIntent);
if ($redirectUrl) {
$metadata = PaymentMetadata::createForPaymentIntent($this->getMethodId(), $cart, $paymentIntent);
return ExecutionResult::redirect($metadata, $redirectUrl);
} else {
return ExecutionResult::error("Stripe response does not contain redirect url");
}
} catch (ApiErrorException $e) {
return $this->handleApiException($e);
}
}
hi! I'm taking over this thread. give me a few minutes to catchup.
if needed the full source code of my payment module https://github.com/dffych/thirtybees_stripe
Code extracts above are from :
Stripe payment module. Contribute to dffych/thirtybees_stripe development by creating an account on GitHub.
Stripe payment module. Contribute to dffych/thirtybees_stripe development by creating an account on GitHub.
Thanks for the detailed information.
I think this would require some deeper investigation. So can you open a ticket, where you summarize the issue? And we'll look into it.
Hello @verbal nest, we have sent you a direct message, please check it at https://discord.com/channels/@me/1333801453462229174
- 🔗The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
OK thanks @jagged rapids and @bleak gull for your first investigations. I open the ticket from my Stripe account
Perfect, thanks! We'll look into it.