#acffaria91 - checkout

1 messages · Page 1 of 1 (latest)

analog lagoon
#

Can you share a screenshot of what you're seeing on the page?

woven abyss
#

Here's my webpage

#

Here's my pm2 logs:

analog lagoon
#

This is the body of your request to create a checkout session:

  line_items: {
    0: {
      price: "plan_EYKWW1XEyEd7Zq",
      quantity: "1"
    }
  },
  mode: "subscription",
  customer: "cus_MBl3p7E9wKTlvK",
  success_url: "undefined/subscricoes",
  cancel_url: "undefined",
  automatic_tax: {
    enabled: "true"
  }
}

#

You're passing invalid urls to success_url and cancel_url

#

They must be valid urls or the request won't succeed

woven abyss
#

they're valid, I'm using from my .env file my url

#

I didn't change them

#

do you think this might have something to do with some ejs module update?

analog lagoon
woven abyss
#

Thank you, I'll look into it