Hi,
die Zahlungsarten PayPal Kreditkarte und PayPal Lastschrift erzeugen einen Fehler:
CHECKOUT__ASYNC_PAYMENT_PROCESS_INTERRUPTED
Nach dem Checkout (Bestellung abschließen) bricht die Weiterleitung zu PayPal ab und es konnte keine Zahlung durchgeführt werden. Dieser Fehler tritt auch in älteren Versionen von Shopware 6 und PayPal auf.
Shopware Headless mit Shopware Frontends
Shopware Version 6.6.8.1
PayPal Version 9.6.3
Die Zahlungsart PayPal funktioniert einwandfrei.
PayPal API-Zugang aktiv, PayPal Webhook aktiv.
Ein anderer User hat das Problem auf Github geschildert. Issue wurde ohne Lösung geschlossen:
opened 02:21PM - 10 Sep 24 UTC
closed 01:39PM - 11 Sep 24 UTC
Bug
Extension:PayPal-Integration
*PHP Version:* 8.2.23 | *Shopware Version:* 6.6.6.0 | *Affected area / extens… ion:* Extension:PayPal-Integration
----
*_Expected behaviour:_*
Credit or debit card payment should work
*_Actual behaviour:_*
Doesn't work and ends up in a issue when using handlePayment from @shopware/frontends
CHECKOUT__ASYNC_PAYMENT_PROCESS_INTERRUPTED
*_How to reproduce:_*
We just added PayPal Credit Card in Shopware Settings. Has not worked yet...
<img width="1035" alt="image" src="https://github.com/user-attachments/assets/28810219-19d5-49f9-89b9-e5ca0ce071f3">
```
const placeOrder = async () => {
isLoading.value = true
// programmatically trigger the personal information form
submitForm('personalInformation')
await register(state.value)
order.value = await createOrder()
// creating the payment route
const SUCCESS_PAYMENT_URL = `${window?.location?.origin}/${locale.value}/checkout/order/${order.value.id}/paid`
const FAILURE_PAYMENT_URL = `${window?.location?.origin}/${locale.value}/checkout/order/${order.value.id}/unpaid`
isLoading.value = false
const handlePaymentResponse = await handlePayment(
SUCCESS_PAYMENT_URL,
FAILURE_PAYMENT_URL,
)
const redirectUrl = handlePaymentResponse?.data?.redirectUrl
if (redirectUrl) {
window.location.href = redirectUrl
}
await refreshCart()
}
```
```
------------------------------
- Operating System: Darwin
- Node Version: v20.5.1
- Nuxt Version: 3.13.1
- CLI Version: 3.13.1
- Nitro Version: 2.9.7
- Package Manager: yarn@4.1.1
- Builder: -
- User Config: future, app, hooks, routeRules, runtimeConfig, swiper, css, components, modules, image, security, postcss, vite, extends, compatibilityDate, formkit, plausible, cookieFirst, shopware
- Runtime Modules: @storyblok/nuxt@6.0.10, @nuxtjs/tailwindcss@6.12.1, @pinia/nuxt@0.5.4, @nuxt/image@1.8.0, @shopware-pwa/nuxt3-module@0.0.0-canary-20240910120534, nuxt-swiper@1.2.2, @formkit/nuxt@1.6.5, nuxt-cookie-first@0.1.7, @nuxtjs/plausible@1.0.2, nuxt-security@1.4.3
- Build Modules: -
------------------------------
```
R4M
11. November 2024 um 10:01
2
Habt ihr mal versucht an den Hersteller ein Ticket zu senden?