MCPcopy Create free account
hub / github.com/codecombat/codecombat / onAuthorize

Function onAuthorize

app/core/services/paypal.js:67–70  ·  view source on GitHub ↗
(data, actions)

Source from the content-addressed store, hash-verified

65 },
66 // onAuthorize() is called when the buyer approves the payment
67 onAuthorize (data, actions) {
68 // Pass the payment info along, so we can tell the server to execute it
69 return actions.payment.get().then(payment => onPaymentComplete(payment))
70 }
71 }, options.payPalOptions), buttonContainerID) : undefined
72}
73

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected