This trial was 6 of the 200 defendants. 194 to go, but this verdict is promising. #DefendJ20



#DefendJ20 jury verdict incoming. Please please acquit.


Fun Sexy Bible Time Fun Sexy Bible Time on twitter.com:
episode 55 with @middlecasey, discussing Best Christian Tweets, grocery dads, and CCM sex tapes:… https://twitter.com/i/web/status/923364486639210496

I think SCC would definitely have a tape and it would be titled The Great Adventure.


In reply to: https://www.monkinetic.blog/diso-after-10-years.html

Hello, have a webmention! :]


gRegor Morrill gRegor Morrill on gregorlove.com:
My #newwwyear resolution for gRegorLove.com:

1) Starting today

2) I’m going to work on an improved, wider layout for photo posts and photo gallery pages

3) Before 2017-01-07

Props to @jensimmons for the motivation!

https://twitter.com/jensimmons/status/943323088405581824

And by 2017-01-07, I mean 2018-01-07.

#wibblywobbly #timeywimey


My #newwwyear resolution for gRegorLove.com:

1) Starting today
2) I’m going to work on an improved, wider layout for photo posts and photo gallery pages
3) Before 2017-01-07

Props to @jensimmons for the motivation!

https://twitter.com/jensimmons/status/943323088405581824


401 Unauthorized responses on sandbox

This is a PayPal support post I wrote:

I have set up the Express Checkout with checkout.js per https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/add-paypal-button/ (and subsequent pages). I am testing with credit card transactions and consistently getting a 401 Unauthorized response.

For example:

POST https://www.sandbox.paypal.com/webapps/hermes/api/payment/PAY-1EE13341N03083707LI5NGIY/execute
401 Unauthorized {"ack":"permission_denied","message":"Permission Denied"}

I've seen REST API documentation saying that payment_method should be set to "paypal" though no corollary documentation/examples for this checkout.js method. Looking in the rest.js source on https://github.com/paypal/paypal-checkout, it appears payment_method defaults to "paypal" anyway.

I've tried rotating the random credit card numbers I'm using for testing to no avail. Yesterday, very intermittently, I would sometimes get a 401 Unauthorized followed by a retry that then worked. Most of the time I was getting 401 followed by 400. Today I haven't been able to get any successful card transactions, always getting 401.

The payment Javascript is really basic and yes, the sandbox clientID and production clientID are set correctly in the script:

var tx_total = 100;
var tx_description = 'Test transaction';

paypal.Button.render({

	env: 'sandbox',

	client: {
		sandbox:    '[redacted]',
		production: '[redacted]'
	},

	style: {
		label: 'buynow',
		branding: true,
		size: 'medium'
	},

	commit: true,

	payment: function(data, actions) {
		return actions.payment.create({
			payment: {
				intent: 'sale',
				transactions: [
					{
						amount: {
							total: tx_total,
							currency: 'USD'
						},
						description: tx_description
					}
				]
			}
		});
	}

	// onAuthorize code redacted

}, '#paypal-button');

This is under a client's PayPal account, not mine, by the way.


PayPal is now up there with WordPress as far as platforms I really don’t like working with.

  • PayPal’s documentation is a mess.
  • When using PayPal’s sandbox accounts—with PayPal-generated test credit card numbers—I get response code 400 regularly, with no explanation why.
  • After finally finding some test credit card numbers in the documentation and trying those, the transaction fails and the PayPal UI tells me I can’t use that credit card.
  • Then there is this page that tells you any valid, randomly-generated card numbers should work in the sandbox.
  • The randomly-generated numbers work sometimes. Other times you get a 401 Unauthorized response followed by a retry . . . which fails with a 400.

I’ve had maybe three test transactions work successfully and it’s not clear to me at all why the others didn’t.

Did I mention I’m using their “latest-and-greatest” checkout.js because it’s supposed to be so easy?

</rant>



Poked: Chris Aldrich



Currently reading: Jurassic Park


I now have at least one example for each of the three read statuses:

https://gregorlove.com/2017/12/want-to-read-a-wind/

https://gregorlove.com/2017/12/currently-reading-a-wrinkle-in/

https://gregorlove.com/2017/12/finished-reading-a-wrinkle-in/

With the last one, I realized I could make it a reply to the previous status so they show up as comments and the entire read cycle is linked together.


Want to read: A Wind in the Door



gRegor Morrill gRegor Morrill on gregorlove.com:
Currently reading: A Wrinkle in Time

Finished reading: A Wrinkle in Time



In reply to: https://twitter.com/indiana_mama/status/941703629693767680

Sad because I wasn't as cool: https://flic.kr/p/5Ffeuv


In reply to: https://twitter.com/indiana_mama/status/941703629693767680

When? Before we met? jk ;]