From 8e7cd4222ed7fb44d97a94fb3bc906f15e2f5486 Mon Sep 17 00:00:00 2001 From: Albert Lacarta Date: Mon, 2 May 2016 09:44:05 +0200 Subject: [PATCH] Added compatibility on old V1 store for Charge Action on tokens for V3 new prefixes. refs #814 --- .../Bundle/SDKBundle/Store/V1/Charge/Action/ChargeToken.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PureBilling/Bundle/SDKBundle/Store/V1/Charge/Action/ChargeToken.php b/src/PureBilling/Bundle/SDKBundle/Store/V1/Charge/Action/ChargeToken.php index 8a4bb71..9b029d8 100644 --- a/src/PureBilling/Bundle/SDKBundle/Store/V1/Charge/Action/ChargeToken.php +++ b/src/PureBilling/Bundle/SDKBundle/Store/V1/Charge/Action/ChargeToken.php @@ -26,7 +26,7 @@ class ChargeToken extends Element /** * @Store\Property(description="callback we will call after creditcard from") - * @PBAssert\Type(type="id", idPrefixes={"temp-creditcard", "temp-iban", "paypal-braintree-nonce"}) + * @PBAssert\Type(type="id", idPrefixes={"temp-creditcard", "temp-iban", "paypal-braintree-nonce", "tempiban", "tempcreditcard"}) */ protected $temporaryPaymentMethodToken;