- process single charge

This commit is contained in:
Čarodej
2021-12-23 13:07:41 +01:00
parent 606765561d
commit f88ed999c5
13 changed files with 442 additions and 21 deletions

View File

@@ -188,7 +188,7 @@
});
} catch (error) {
events.$emit('toaster', {
type: 'error',
type: 'danger',
message: this.$t('failed to load the PayPal components'),
})
}
@@ -210,7 +210,7 @@
}
}).render('#paypal-button-container');*/
// Initialize paypal buttons for subscription
// Initialize paypal buttons for single charge
await paypal.Buttons({
createOrder: function(data, actions) {
return actions.order.create({