Skip to content

Commit

Permalink
dump full response (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
n3ssi3 authored Feb 28, 2023
1 parent 654f8f7 commit b44fa4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,6 @@ $(document).ready(function () {
PaymentButton.on('authorization', response => consoleOutput('authorization', response))
PaymentButton.on('abort', () => consoleOutput('abort'))
PaymentButton.on('error', response => consoleOutput('error', response))
PaymentButton.on('token', response => consoleOutput('token', response?.token?.details?.paymentMethodData?.tokenizationData?.token))
PaymentButton.on('token', response => consoleOutput('token', response?.token))
PaymentButton.on('unsupported', () => consoleOutput('unsupported'))
});

0 comments on commit b44fa4e

Please sign in to comment.