Adds integration to send sales orders to brightpearl
This commit is contained in:
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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user