Next.js Discord

Discord Forum

PayPal + Next.js Pages Directory

Unanswered
Artois Hound posted this in #help-forum
Open in Discord
Artois HoundOP
Has anybody connected the two? I tried to look up some code, but there's very little of it regarding Next.js, and if someone has done it already, I don't wanna be sweating over it for a few days if not necessary. What I need is a simple checkout link to a paypal-hosted site (without using their official button) and then just somehow check when it has been paid via a webhook. I have the same system already built via Stripe, but PayPal has way less public information on this.

9 Replies

Artois HoundOP
PS. I know that this is possible since warzone.com already has a similar system (albeit not Next.js) but in there you basically have a non-paypal button that links to a paypal site that looks like this: https://www.paypal.com/webapps/hermes?flow=1-P&ulReturn=true&token=3M2142693R380952V&useraction=commit&rm=0&flowType=WPS&mfid=1720113382564_f620625aad3ac&ssrt=1720113383029&rcache=1&cookieBannerVariant=hidden So no paypal button is necessary with all their scrips and stuff.
u might need to check the documentation how the payment link is generated
if its not documented just check what requests the widget does and replicate it
@Artois Hound kindly do not bump the thread then delete the message.
@gin u might need to check the documentation how the payment link is generated
Artois HoundOP
All documentation and code out there uses the their button, it has some kinda script in it.
@Artois Hound I thought it was allowed to bump based on this https://discord.com/channels/752553802359505017/1138338531983491154/1138338531983491154
yes but not once at 6:12 UTC and another time at 8:05 UTC, and deleting both of them to evade detection.

only bump at most once a day. don't circumvent the rules.
Make it more clear that it is prohibited to bump more than once a day, I thought it was a suggestion.