Title: Customer Portal for Stripe
Author: OrderForms.com
Published: <strong>2019 年 1 月 29 日</strong>
Last modified: 2022 年 11 月 28 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/orderforms-stripe.svg)

# Customer Portal for Stripe

 作者：[OrderForms.com](https://profiles.wordpress.org/orderforms/)

[下载](https://downloads.wordpress.org/plugin/orderforms-stripe.4.1.6.zip)

 * [详情](https://cn.wordpress.org/plugins/orderforms-stripe/#description)
 * [评价](https://cn.wordpress.org/plugins/orderforms-stripe/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/orderforms-stripe/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/orderforms-stripe/#developers)

 [支持](https://wordpress.org/support/plugin/orderforms-stripe/)

## 描述

Customer Portal for Stripe provides shortcodes which allows the currently signed-
in user to
 manage their Stripe subscriptions, see their invoices & manage their
cards:

 * `[cpfs_list_subscriptions allow-cancel="true"]`
    Lists up to 10 Stripe subscriptions.
   The default value for`allow-cancel` is `false`. To allow a user to cancel their
   subscriptions, set `allow-cancel="true"`.
 * `[cpfs_list_invoices]`
    Lists up to 10 Stripe invoices.
 * `[cpfs_list_cards]`
    Lists up to 10 credit cards stored at Stripe.
 * `[cpfs_add_card]`
    Allows a user to add a new card. The newly added card will
   be set as default.

#### Notes:

 * On first visit of any page containing a `cpfs_*` shortcode, the currently signed-
   in user will be looked up
    in Stripe using the user’s email address. If not matching
   customer is found, a customer will be created.
 * If needed, an administrator can manually link a Stripe customer ID to a user 
   by editing the affected user profile
    in WP Admin and updating the `Stripe Customer
   ID` field.
 * If an administrator updates the email address of any user in WP Admin, the Stripe
   customer email will be updated as
    well (or created if the customer doesn’t exist).
 * If a user updates their email address in WordPress, **_their email will not be
   updated in Stripe_**.
 * Responses from Stripe are being cached for 15 minutes to avoid excessive API 
   calls.

## 屏幕截图

 * [[
 * [[
 * [[
 * [[
 * [[
 * [[
 * [[
 * [[

## 安装

 1. Upload `customer-portal-for-stripe` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place any of the `[cpfs_*]` shortcodes into your pages

## 评价

![](https://secure.gravatar.com/avatar/6c1ce36f3f4956505324b3a19cf9c34a507624927b5c4a84a854d40a089edda4?
s=60&d=retro&r=g)

### 󠀁[Just perfect!](https://wordpress.org/support/topic/just-perfect-624/)󠁿

 [a.a.martines](https://profiles.wordpress.org/aamartines/) 2023 年 3 月 10 日

Does exactly what I needed with minimal setup. I’m using this to extend the functionality
of WP Full Stripe’s Customer Portal, which doesn’t show next renewal date for subscriptions
or allow access to invoices. This does exactly that, and works perfectly!

![](https://secure.gravatar.com/avatar/43b0f9592bbdefd33941b11bf9c3b54586695f09346879059b862e7034ff2595?
s=60&d=retro&r=g)

### 󠀁[Just the plugin I needed](https://wordpress.org/support/topic/just-the-plugin-i-needed-5/)󠁿

 [](https://profiles.wordpress.org/kdgjevre/) 2019 年 2 月 15 日

Our membership site has users with subscriptions through Stripe. We were unable 
to have the members manage there own subscriptions. They had to email in to have
customer service cancel payments, change credit cards.. it was a nightmare. What
makes this plugin better than others is it works off the email address and not the
Stripe Customer ID which a single customer can have several Stripe IDs. It is simple
to install and immediately gives members access to subscription plans they have 
in Stripe.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/orderforms-stripe/reviews/)

## 贡献者及开发者

「Customer Portal for Stripe」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ OrderForms.com ](https://profiles.wordpress.org/orderforms/)
 *   [ Nexus Merchants ](https://profiles.wordpress.org/nexusmerchants/)
 *   [ TacoCode ](https://profiles.wordpress.org/tacocode/)

「Customer Portal for Stripe」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/orderforms-stripe/contributors)
为本插件所做的贡献。

[帮助将「Customer Portal for Stripe」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/orderforms-stripe)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/orderforms-stripe/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/orderforms-stripe/)，或通过[RSS](https://plugins.trac.wordpress.org/log/orderforms-stripe/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/orderforms-stripe/)。

## 更新日志

#### 4.1.6

 * Improve error handling

#### 4.1.5

 * [FIXED] Fix regex to allow saving of live keys. [Cameron Gilroy](https://github.com/nexusmerchants/wp-orderforms-stripe/pull/3)

#### 4.1.4

 * [SECURITY] Escape all Stripe API output

#### 4.1.3

 * [CHANGED] Remove ZIP input/requirement when adding a new card

#### 4.1.2

 * [FIXED] Properly handle `[cpfs_list_subscriptions]` shortcode attribute(s)

#### 4.1.1

 * [IMPROVED] Remove both card & customer transient upon card update to immediately
   reflect ‘default card’ attribute

#### 4.1.0

 * Complete plugin rewrite

#### 1.1.0

 * Initial release

## 额外信息

 *  版本 **4.1.6**
 *  最后更新：**4 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 5.7.2 或更高版本 **
 *  已测试的最高版本为 **5.9.13**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/orderforms-stripe/) 和 [German](https://de.wordpress.org/plugins/orderforms-stripe/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/orderforms-stripe)
 * 标签
 * [Billing](https://cn.wordpress.org/plugins/tags/billing/)[customer](https://cn.wordpress.org/plugins/tags/customer/)
   [invoice](https://cn.wordpress.org/plugins/tags/invoice/)[stripe](https://cn.wordpress.org/plugins/tags/stripe/)
   [subscription](https://cn.wordpress.org/plugins/tags/subscription/)
 *  [高级视图](https://cn.wordpress.org/plugins/orderforms-stripe/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/orderforms-stripe/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/orderforms-stripe/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/orderforms-stripe/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/orderforms-stripe/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/orderforms-stripe/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/orderforms-stripe/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/orderforms-stripe/reviews/)

## 贡献者

 *   [ OrderForms.com ](https://profiles.wordpress.org/orderforms/)
 *   [ Nexus Merchants ](https://profiles.wordpress.org/nexusmerchants/)
 *   [ TacoCode ](https://profiles.wordpress.org/tacocode/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/orderforms-stripe/)