Repository navigation
Issue with Updating payment_session Table #14530
Replies: 1 comment
|
const providerData = await this.paymentProviderService_.updateSession(
session.provider_id,
{ data: data.data, amount: data.amount, currency_code: ..., context: data.context }
)
// ...
data: providerData.data,So the Fix: make your provider's Also, Not verified: I haven't seen your provider code or run this, so I can't tell what your |
Uh oh!
There was an error while loading. Please reload this page.
I attempted to update the payment_session table using the query below, but the record is not getting updated.
await paymentModuleService.updatePaymentSession({
id: 'pay_sess_example_value',
data: { ...response, payment_method },
});
However, the values from createPaymentSession are still being retained, and the updated data is not reflecting in the table.
Please help with a workaround or suggest an alternative approach to ensure the changes are updated correctly.
All reactions