我从未与paypal合作过,因此我不知道任何我可以使用的功能,使我受益。我想要实现的用户体验是这样的:在您的帐户收费之前必须购买150件物品,否则没有钱从您的帐户中消失。我在想我可以用贝宝的bill me later。然而,这似乎更多的是以客户为导向。
你是否知道paypal对于这个任务是可行的,如果是的话,是哪种服务?
发布于 2012-09-08 14:44:28
如果您愿意离开PayPal,还有其他支付授权机构会存储客户的信息,并让您稍后为他们开具账单。
你可能会看一眼条纹。https://stripe.com/docs/tutorials/charges
# create a Customer
customer = Stripe::Customer.create(
:card => token,
:description => "payinguser@example.com".
)
# At a later time, charge the Customer
Stripe::Charge.create(
:amount => 1000, # in cents.
:currency => "usd",
:customer => customer.id.
)https://stackoverflow.com/questions/9097423
复制相似问题