Closed koddr closed 6 years ago
https://vuejs.org/v2/guide/components.html#camelCase-vs-kebab-case
Can you try this instead?
<!-- ./index.html -->
<div id="app">
<pay-pal
amount="10.0"
currency="USD"
:client="paypal_api_keys"
v-on:paypal-payment-authorized="paypalPaymentAuthorized"
v-on:paypal-payment-completed="paypalPaymentCompleted"
v-on:paypal-payment-cancelled="paypalPaymentCancelled"
env="sandbox">
</pay-pal>
</div>
Actually I think I'm going to change the event names to something simpler and more compatible to use in HTML.
Thanks for bringing up this issue!
Awesome! Thanks!
Hmm.. why PayPal methods
paypal-paymentAuthorized
,paypal-paymentCompleted
andpaypal-paymentCancelled
are not working at2.3.5
version? O_oMy code is:
On template:
...so, payment is success, but console log is always empty!
I need this function, because my project (with Django on backend) need to catch complete payment information and save it to Database (and create user account).
How to solve this? Help please.