You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, so im implementing a bankart payment integration as a payment processor the payment proceeds to bankart successfully but in the medusa dashboard orders dont get created.
/**
* Method to complete the checkout process. This is called when the user clicks the "Complete Checkout" button.
*/
const onPaymentCompleted = () => {
isCompleting.open()
complete(undefined, {
onSuccess: ({ data }) => {
const cartData = data as Cart
if (cartData?.payment_session?.status === "authorized") {
push(`/order/confirmed/${data.id}`)
resetCart()
}
else if (cartData?.payment_session?.status === "requires_more" && cartData?.payment_session?.data?.redirectUrl) {
push(`${cartData?.payment_session?.data?.redirectUrl}`)
}
},
})
isCompleting.close()
}
So in summary, the payment goes through on bankart but the order in the medusa dashboard doesnt get created, i tested it with the default medusa-payment-manual and the order does get created in the dashboard.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, so im implementing a bankart payment integration as a payment processor the payment proceeds to bankart successfully but in the medusa dashboard orders dont get created.
This is the code for my payment processor:
And here are frontend stuff:
Payment button:
Checkout context:
So in summary, the payment goes through on bankart but the order in the medusa dashboard doesnt get created, i tested it with the default
medusa-payment-manual
and the order does get created in the dashboard.Beta Was this translation helpful? Give feedback.
All reactions