You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I didn't actually need to use a link to integrate? Having said that, I have also tried including: <script src="https://www.paypalobjects.com/payouts/js/payouts_aac.js"></script>
and <script src="https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID"></script>
馃悶 Describe the Bug
When initiating the paypal object via any of the methods listed on the paypal website (script in index.html or loadScript method) and adding either:
<script src="https://www.paypalobjects.com/payouts/js/payouts_aac.js"></script>
to indexor
components: "buttons,marks,payout",
Trying to access
window.paypal?.PayoutsAAC
results inProperty 'PayoutsAAC' does not exist on type 'PayPalNamespace'.
.Console logging out the window.paypal object, I can see that the
PayoutsAAC
property does exist.馃敩 Minimal Reproduction
window.paypal
window.paypal?.PayoutsAAC
馃槙 Actual Behavior
See
Describe the Bug
馃 Expected Behavior
The typescript definition of
PayPalNamespace
should allow for other properties besideButtons
馃實 Environment
The text was updated successfully, but these errors were encountered: