Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

date time paypal return

PayPal Express Checkout return an array of response. Part of this response is this key:

[TIMESTAMP] = 2012-03-14T08:49:22Z

I am inserting the response into my database. However the timestamp seems to be not in valid format to fit in my column. The column details is this follows:

Column      |   Type    
------------------------
DateCreated |  datetime

How can I convert the returned timestamp into something fitting into my database?

like image 607
Leandro Garcia Avatar asked Mar 14 '12 08:03

Leandro Garcia


People also ask

What time does PayPal issue refunds?

For purchases made with your credit or debit card, the refund can take up to 30 days to show up on your account. If you bought the item using your bank account or PayPal balance, the balance will be credited to your PayPal account. Funds can take three to five days to arrive in your account.

How long does it take for a return to hit PayPal?

If you buy an item with your credit or debit card connected to the PayPal account, the refund could take up to 30 days to show up in your account. If you make a purchase using your bank account or PayPal balance, the refund will be credited to your PayPal account in three to five days.

Do PayPal refunds go back immediately?

Getting a refund on PayPal can be as quick as the same day the refund is issued if you paid with your PayPal balance, But it can also be potentially as long as 30 days if you paid with a credit or debit card.

Can I issue a PayPal refund after 180 days?

Be aware that disputes must be opened within 180 days of your payment date, and that you and the seller will have 20 days to work things out.


1 Answers

$date = date('Y-m-d H:i:s', strtotime ('2012-03-14T08:49:22Z'));
like image 179
akond Avatar answered Sep 28 '22 07:09

akond