vue-paypal-checkout
vue-paypal-checkout copied to clipboard
how to get response callback
hi, thanks for awesome plugin, but how if i want to get data of detail transaction after transaction is successfull?
or how to know if the transaction is successfull?
You can use "payment-authorized", "payment-completed" and "payment-cancelled" events.
v-on:payment-authorized="paymentauthorized"
..............
methods: {
paymentauthorized(event) {
// Your response
console.log(event);
}
}