Back
Remote OK
Load previous page…
change Safetywing ad on #remoteok because they asked to, they want to target frontpage for nomads, and job post page for remote companies, and change link tracking redirects to /nomad-health and /safety-wing for different products
fix one job post edit page was showing all the job posts posted with a bundle code due to the same stripe_customer_id, so check invoice->metadata>job_id to see if it exists and if so check if it’s same as job id of edit page to only show invoices for that job post #remoteok
fix tag search #remoteok workers profiles because the users.db became too big, so I switched to selective SQL query “SELECT tags_json,languages_json FROM users ORDER BY epoch_last_active DESC” but then filterBadProfiles() function ran over it, and would filter out all profiles from it resulting in $topTags cache being empty
debug why @AndreyAzimov isn’t getting email alerts from #remoteok yet: he subscribed 9 August, default is weekly emails, so het gets first email 16 August, but today is 14 August
fix auto bump stopped charging because Stripe API changed something again, you can’t charge a stripe_customer_id anymore, you have to create a PaymentIntent by retrieving the PaymentMethod from the Customer object, with the payment_intent_id you save and set as off_session for later payments during Stripe Checkout (maximum difficult and yes Stripe is absolutely losing it by rapidly deprecating old functionality and actively breaking payment integrations causing companies to lose revenue) #remoteok