i am using the payumBundle for my payment set ups but i keep getting this error:
Duplicate entry '0' for key 'PRIMARY'
These are my classes that i am using
/**
* @ORM\Table(name="payum_tokenized_details")
* @ORM\Entity
*/
class TokenizedDetails extends BaseTokenizedDetails
{
protected $id;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
}
/**
* @ORM\Table(name="payum_paypal_express_checkout_payment_details")
* @ORM\Entity
*/
class PaypalExpressPaymentDetails extends PaymentDetails
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @return mixed
*/
public function getId()
{
return $this->id;
}
}
i have tried to search but i can't seem to find a solution, normally this is because of the primary keys, but those are all set up correctly