简体   繁体   English

如何使用PayPal登录以保存user_id?

[英]How do I login with PayPal to save user_id?

Is it possible to use a "login with PayPal" button through the PayPal API? 是否可以通过PayPal API使用“使用PayPal登录”按钮? I want to use it as a twitter signin to link your paypal account once to the app, then have it store a user_id . 我想将其用作Twitter登录,以将您的Paypal帐户一次链接到该应用,然后将其存储为user_id

Is this possible? 这可能吗?


I want some kind of ' connect to paypal ' behaviour. 我想要某种“ 连接到贝宝 ”的行为。 Think about a shop where goods are sold and get paid to the shop onwers paypal account. 考虑一个出售商品并获得付款的商店,该商店将付款到商店的付款人贝宝帐户。 The shop owner must verify (connnect) once his paypal account and the app will then know where all payments must go. 商店所有者必须在一次其Paypal帐户后进行验证(连接),然后该应用程序将知道所有付款必须去哪儿。

It is also possible to just ask for the shop owners paypal email account, but this ain't really low level in my opinion. 也可以只问商店老板的贝宝电子邮件帐户,但是我认为这并不是一个很低的水平。

If this even was posssible to do I wouldn't do such a thing for authentication. 如果甚至可以这样做,我也不会做这样的身份验证。

The reason is, the user could easily assign that he has to pay for every login with this procedure. 原因是,用户可以通过此过程轻松分配自己必须为每次登录支付的费用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用Rails和Postgresql将匹配的记录另存为新记录并更新user_id - How do I save a matched record as a new one and update user_id, using rails and postgresql 如何为种子分配User_ID - How do I assign a User_ID to the seed 在rails 3中使用“ create!”后如何保存user_id? - how to save the user_id after using “create!” in rails 3? 如何在Rails中的Google Universal Analytics跟踪代码中设置USER_ID? - How do I set USER_ID in Google Universal Analytics tracking code in Rails? 如何在模型上引用“ user_id”,但命名为“ poster_id”和“ receiver_id”两个不同的属性? -滑轨3 - How do I reference a 'user_id' on a model, but named as two different attributes 'poster_id' and 'receiver_id'? - Rails 3 如果没有,则如果使用author和user_id,则如何使用current_user id填充user_id参数 - How can I populate a user_id param using current_user id if Author and user_id from dropdown if not Rails-如何在帖子评论中插入user_id? - Rails - How can I insert the user_id to a comment on a post? 如何将 User_id 分配给项目 - How to assign User_id to an item 如何设置:user_id与评论通知? - How to set :user_id with comment notifications? Rails 3:获取当前user_id以保存在不同的模型中 - Rails 3: Get current user_id to save in different model
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM