mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
feat: add successful payment response handling
This commit is contained in:
@@ -10,7 +10,7 @@ export default (livewireComponent) => ({
|
||||
.then(response => {
|
||||
console.log('Payment response:', response);
|
||||
this.$wire.call('logThis', 'Payment response: ' + JSON.stringify(response));
|
||||
this.$wire.call('success', response.preimage);
|
||||
this.$wire.call('success');
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Payment failed:', error);
|
||||
|
||||
Reference in New Issue
Block a user