Adds integration to send sales orders to brightpearl

This commit is contained in:
Sebastian Rindom committed 2020-08-03 10:23:45 +02:00
1 parent 630bf3abc6
commit c18677d5f2
20 files changed
+931 -10

No files matched your search

@@ -162,6 +162,12 @@ class StripeProviderService extends PaymentService {
try {
const { id } = data
return this.stripe_.paymentIntents.cancel(id)
.catch(err => {
if (err.statusCode === 400) {
return
}
throw err
})
} catch (error) {
throw error
}