Skip to content

Can't log into PayPal with this module. Is this maintained anymore? #8

Description

@hdwebpros

I installed the module and made a simple component:

<script setup lang="ts">
usePaypalButton({
  // element: '#paypal-checkout', => default
  onApprove: async (data, actions) => {
    try {
      const details = await actions.order?.capture();
      console.log("Payment completed successfully:", details);
    } catch (error) {
      console.error("Error capturing payment:", error);
    }
  },
});
</script>
<template>
  <div id="paypal-checkout" />
</template>

The buttons load, I click one to test the $0.01 amount, but am asked to log in.

I enter my email address, but then it boots me to a 'create a new account' screen.

To verify that it's not on my end, I opened a new browser window and logged into PayPal directly just fine. The issue only occurs on this module, clicking the PayPal buttons.

Then I see #6 which is an approved PR from August that still isn't merged and an issue from 11 months ago with no comments: #5 and wonder if this is abandoned and I should just use the SDK directly?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions